Skip to content

Commit

Permalink
Fix progress link to README
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Apr 7, 2014
1 parent ec71989 commit cf3a641
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/generate/site/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ swig.setFilter('lines', function(content) {

// Swig filter for returning a link to the associated html file of a markdown file
swig.setFilter('mdLink', function(link) {
return link.replace(".md", ".html");
var link = link.replace(".md", ".html");
if (link == "README.html") link = "index.html";
return link;
});

var Generator = function() {
Expand Down

0 comments on commit cf3a641

Please sign in to comment.