Commit f7058301 authored by Jade Dominguez's avatar Jade Dominguez

Add sample _root pages.

parent 4dd6ca1c
{{# posts.collated }}
{{> posts_collate }}
{{/ posts.collated }}
<ul class="tag_box inline">
{{# posts.categories.all }}
{{> categories_list }}
{{/ posts.categories.all }}
</ul>
{{# posts.categories.all }}
<h3>{{ name }} ({{ count }})</h3>
<ul>
{{# posts?to_posts }}
{{> posts_list }}
{{/ posts?to_posts }}
</ul>
{{/ posts.categories.all }}
---
title: Home
description:
---
## Hello World
{{# posts.paginator }}
<div class="post">
<h3 class="title"><a href="{{url}}">{{title}}</a> <span class="date">{{ date }}</span></h3>
{{{ summary }}}
<div class="more">
<a href="{{url}}" class="btn btn-small">read more..</a>
</div>
</div>
{{/ posts.paginator }}
<div class="pagination">
<ul>
{{#posts.paginator_navigation}}
{{#is_active_page}}
<li class="active"><a href="{{url}}">{{name}}</a></li>
{{/is_active_page}}
{{^is_active_page}}
<li><a href="{{url}}">{{name}}</a></li>
{{/is_active_page}}
{{/posts.paginator_navigation}}
</ul>
</div>
<ul>
{{# _root.all }}
{{> pages_list }}
{{/ _root.all }}
</ul>
<ul class="tag_box inline">
{{# posts.tags.all }}
{{> tags_list }}
{{/ posts.tags.all }}
</ul>
{{# posts.tags.all }}
<h3 id="{{name}}-ref">{{name}}</h3>
{{# posts?to_posts }}
<li><a href="{{url}}">{{title}}</a></li>
{{/ posts?to_posts }}
{{/ posts.tags.all }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment