diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-30 00:18:56 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-10-30 00:18:56 -0400 |
commit | bb0a4f4e126c05fc73d566986fd1612468f5be67 (patch) | |
tree | a3a712e0a27ea1fe41d3d6097326896afd2f53f5 /_root | |
download | blog.tozt.net-bb0a4f4e126c05fc73d566986fd1612468f5be67.tar.gz blog.tozt.net-bb0a4f4e126c05fc73d566986fd1612468f5be67.zip |
initial commit
Diffstat (limited to '_root')
-rw-r--r-- | _root/about.md | 4 | ||||
-rw-r--r-- | _root/archive.html | 6 | ||||
-rw-r--r-- | _root/index.html | 26 | ||||
-rw-r--r-- | _root/tags.html | 17 |
4 files changed, 53 insertions, 0 deletions
diff --git a/_root/about.md b/_root/about.md new file mode 100644 index 0000000..fc92875 --- /dev/null +++ b/_root/about.md @@ -0,0 +1,4 @@ +--- +title : about me +--- +See [my website](http://tozt.net/). diff --git a/_root/archive.html b/_root/archive.html new file mode 100644 index 0000000..14c9ae9 --- /dev/null +++ b/_root/archive.html @@ -0,0 +1,6 @@ +--- +title: archive +--- +{{# posts.collated }} + {{> posts_collate }} +{{/ posts.collated }} diff --git a/_root/index.html b/_root/index.html new file mode 100644 index 0000000..1a0d384 --- /dev/null +++ b/_root/index.html @@ -0,0 +1,26 @@ +--- +title: home +--- +{{# 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}}">read more..</a> + </div> +</div> +{{/ posts.paginator }} + +<hr> +<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> diff --git a/_root/tags.html b/_root/tags.html new file mode 100644 index 0000000..00be7bf --- /dev/null +++ b/_root/tags.html @@ -0,0 +1,17 @@ +--- +title: tags +--- +<ul class="tags"> +{{# posts.tags.all }} + {{> tags_list }} +{{/ posts.tags.all }} +</ul> + +{{# posts.tags.all }} + <h3 id="{{name}}-ref">{{name}}</h3> + <ul> + {{# posts?to_posts }} + <li><a href="{{url}}">{{title}}</a> <span class="date">({{date}})</span></li> + {{/ posts?to_posts }} + </ul> +{{/ posts.tags.all }} |