Commit ba756c59 authored by Sylvester Keil's avatar Sylvester Keil

fix #55 detail links for pretty permalinks

parent cc813a61
...@@ -320,7 +320,11 @@ module Jekyll ...@@ -320,7 +320,11 @@ module Jekyll
name.gsub!(/[:\s]+/, '_') name.gsub!(/[:\s]+/, '_')
[name, 'html'].join('.') if site.config['permalink'] == 'pretty'
name << '/index.html'
else
name << '.html'
end
end end
def repository_link_for(entry, base = base_url) def repository_link_for(entry, base = base_url)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment