Blog/assets/templates/tag-articles.html
Price Hiller d4357a163d
feat(template): add footer template
TODO: Flesh out some of the linked pages from this template. For
instance, the `About` page.
2023-08-27 23:15:43 -05:00

32 lines
933 B
HTML

{% import "article-frontmatter.html" as front_matter_macro %}
<!doctype html>
<html lang="en">
<head>
<title>Tags</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/style/style.css" rel="stylesheet" />
<link href="/style/article.css" rel="stylesheet" />
</head>
{% include "nav.html" %}
<body>
<div class="page-info">
<div class="page-title">{{ tag }}</div>
<div class="page-detail">Articles tagged <code>{{ tag }}</code></div>
</div>
<div class="articles-container">
<ul>
{% for article in article_links -%}
<a href="/articles/{{ article.link }}">
<li>
{{ front_matter_macro::gen(frontmatter=article.frontmatter,
link=article.link) }}
</li>
</a>
{% endfor %}
</ul>
</div>
{% include "footer.html" %}
</body>
</html>