diff options
Diffstat (limited to '_layouts/tag.html')
-rw-r--r-- | _layouts/tag.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/_layouts/tag.html b/_layouts/tag.html new file mode 100644 index 0000000..197e568 --- /dev/null +++ b/_layouts/tag.html @@ -0,0 +1,15 @@ +--- +layout: default +--- + +<section class="posts"> +<h1>Tag #{{page.tag}}</h1> + <ul> + {% for post in site.posts %} + {% if post.tags contains page.tag %} + <li><a class="post" href="{{ post.url }}">{{ post.title }}</a> <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%m-%d-%Y" }}</time></li> + {% endif %} + {% endfor %} + </ul> + +</section>
\ No newline at end of file |