diff options
Diffstat (limited to 'source/_includes/archive_post.html')
-rw-r--r-- | source/_includes/archive_post.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/_includes/archive_post.html b/source/_includes/archive_post.html new file mode 100644 index 0000000..fef3328 --- /dev/null +++ b/source/_includes/archive_post.html @@ -0,0 +1,8 @@ +{% capture category %}{{ post.categories | size }}{% endcapture %} +<h1><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1> +<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time> +{% if category != '0' %} +<footer> + <span class="categories">posted in {{ post.categories | category_links }}</span> +</footer> +{% endif %} |