Initial commit.

This commit is contained in:
Zach Leatherman
2018-01-16 21:08:47 -06:00
commit c86db0c9ce
19 changed files with 268 additions and 0 deletions

13
_includes/postlist.njk Normal file
View File

@@ -0,0 +1,13 @@
{% macro list(posts, url) %}
<ul>
{%- for post in posts -%}
<li{% if post.url == url %} class="post-active"{% endif %}>
<a href="{{ post.url | absoluteUrl }}">{{ post.data.title }}</a>
Tags: {{ post.data.tags | join(", ") }}
{%- if post.url == url %}
(You are here)
{% endif -%}
</li>
{%- endfor -%}
</ul>
{% endmacro %}