From 3290015d64bf739adb00da719dfe15ae5165c840 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 9 Jan 2017 19:46:12 -0500 Subject: page_index: make the data flow clearer --- lib/page_tag.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/page_tag.rb') diff --git a/lib/page_tag.rb b/lib/page_tag.rb index 01ef31d..03c15d2 100644 --- a/lib/page_tag.rb +++ b/lib/page_tag.rb @@ -9,7 +9,7 @@ class TagPage < IndexPage @category = Category::new(abbr) super("src/tags/#{@category.abbr}.phony") end - def atom_title + def index_title return "Tag: #{@category.name}" end def index_pages @@ -41,7 +41,7 @@ class TagIndexPage < IndexPage def initialize super("src/tags") end - def atom_title + def index_title return "Tags" end def index_pages -- cgit v1.2.3