diff options
Diffstat (limited to 'lib/page_index.rb')
-rw-r--r-- | lib/page_index.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/page_index.rb b/lib/page_index.rb index 6ae4318..43bf367 100644 --- a/lib/page_index.rb +++ b/lib/page_index.rb @@ -70,7 +70,7 @@ class IndexPage < LocalPage return ret.gsub(/\n\n+/, "\n\n") end def index_title - _metadata['title'] + _metadata['title'] || File::basename(local_infile) end def index_author Person::new(_metadata['author'] || Config::get.default_author) |