Skip to content

Commit

Permalink
Add correct title for category index pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcantrell committed Mar 29, 2015
1 parent 804771b commit 25ba4e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/hologram/doc_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def parse
name = @index_name + '.html'
if @pages.has_key?(name)
@pages['index.html'] = @pages[name]
title, _ = @output_files_by_category.rassoc(name)
@output_files_by_category[title] = 'index.html'
end
end

Expand Down

0 comments on commit 25ba4e9

Please sign in to comment.