diff options
author | ronv <ronalds.vilcins@gmail.com> | 2020-01-30 20:19:33 +0200 |
---|---|---|
committer | ronv <ronalds.vilcins@gmail.com> | 2020-01-30 20:19:33 +0200 |
commit | a1a0a4ad553f59906930d44bf56b089421d2c7a5 (patch) | |
tree | ca8b44675434a07394c63a4b0bb22390ed261589 /_layouts/tag.html | |
parent | bc7896a33321ad0c6e22ad60f20e498f55900c12 (diff) | |
download | wiki-a1a0a4ad553f59906930d44bf56b089421d2c7a5.tar.gz |
initial commit
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..016945f --- /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 |