From c529378ca7778737bd1e0f9f270072da7eb954c5 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 23 May 2018 22:08:58 +0700 Subject: [PATCH] Extended blog --- site/templates/blog-posts.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/site/templates/blog-posts.php b/site/templates/blog-posts.php index ff776e1..0654269 100755 --- a/site/templates/blog-posts.php +++ b/site/templates/blog-posts.php @@ -10,7 +10,6 @@ $blog = $modules->get("MarkupBlog"); // main content - $content = ''; $content .= "

{$page->get('blog_headline|title')}

"; //render a limited number of summarised posts $content .= $blog->renderPosts("limit=5", true); @@ -29,3 +28,8 @@ } + // main content + $content .= "

$page->title

"; + // Render alphabetical list of tags + show number of posts for each tag + render an alphabetical jumplist of tags + $content .= $blog->renderTags($page->children);// children => the individual tag pages +