Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roryg/ghostwriter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRory Gibson <rg.rorygibson@gmail.com>2014-03-30 03:27:29 +0400
committerRory Gibson <rg.rorygibson@gmail.com>2014-03-30 03:27:29 +0400
commitf0a67f5a91d0c34d092722232b3198882e4ad18c (patch)
treee9bf561591314555b20a32afe6e130cae42c5069 /tag.hbs
parentde6ff1a4711a52ce1263f8d4ede775243dca680e (diff)
Added support for tag index pages
Diffstat (limited to 'tag.hbs')
-rw-r--r--tag.hbs25
1 files changed, 25 insertions, 0 deletions
diff --git a/tag.hbs b/tag.hbs
new file mode 100644
index 0000000..3529a00
--- /dev/null
+++ b/tag.hbs
@@ -0,0 +1,25 @@
+{{!< default}}
+
+<div class="container">
+ <h1 class="page-title">Posts tagged: {{tag.name}}</h1>
+
+ <ol class="post-list">
+ {{#foreach posts}}
+ <li class="post-stub {{post_class}}" >
+ <a class="js-ajax-link" title="{{title}}" href="{{url}}">
+ <h4 class="post-stub-title">{{title}}</h4>
+
+ <time class="post-stub-date" datetime="{{published_at}}">Published {{date format="MMMM Do YYYY"}}</time>
+
+ {{#if featured}}
+ <span class="post-stub-tag">Featured</span>
+ {{/if}}
+ </a>
+ </li>
+ {{/foreach}}
+ </ol>
+
+ <div class="post-navigation">
+ {{pagination}}
+ </div>
+</div> \ No newline at end of file