Skip to content

Commit

Permalink
Extended blog
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph committed May 23, 2018
1 parent ac71205 commit c529378
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion site/templates/blog-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
$blog = $modules->get("MarkupBlog");

// main content
$content = '';
$content .= "<h2>{$page->get('blog_headline|title')}</h2>";
//render a limited number of summarised posts
$content .= $blog->renderPosts("limit=5", true);
Expand All @@ -29,3 +28,8 @@
}


// main content
$content .= "<h2>$page->title</h2>";
// 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

0 comments on commit c529378

Please sign in to comment.