From 1c4469005b77a55868de0d3bee8dfec2fff9d86e Mon Sep 17 00:00:00 2001 From: Aleksei Shpakovskii Date: Mon, 24 Feb 2014 18:05:55 +0100 Subject: [PATCH] use template for all_posts.html page title --- bb.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bb.sh b/bb.sh index 2d95e9b..24fcb74 100755 --- a/bb.sh +++ b/bb.sh @@ -170,6 +170,8 @@ global_variables() { template_comments="Comments?" # "View more posts" (used on bottom of index page as link to archive) template_archive="View more posts" + # "All posts" (title of archive page) + template_archive_title="All posts" # "Back to the index page" (used on archive page, it is link to blog index) template_archive_index_page="Back to the index page" # "Subscribe" (used on bottom of index page, it is link to RSS feed) @@ -525,7 +527,7 @@ all_posts() { contentfile="$archive_index.$RANDOM" done - echo "

All posts

" >> "$contentfile" + echo "

$template_archive_title

" >> "$contentfile" echo "