website/_layouts/blog.liquid

29 lines
931 B
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html lang="en-US">
<head>
{% include "meta.liquid" %}
</head>
<body>
{% include "navigation.liquid" %}
<main>
{{ page.content }}
{% for post in collections.posts.pages %}
<article class="post">
<h3>
<span><a href="/{{post.permalink}}">🔗 {{ post.title }}</a></span>
<span><code class="date">{{post.published_date}}</code></span>
</h3>
<p>{{post.description}}</p>
<p class="tags"><b>Tags: </b><i>
{% for category in post.categories %}
{{category}},
{% endfor %}
</i></p>
</article>
{% endfor %}
</main>
{% include "footer.liquid" %}
</body>
</html>