blossom/templates/blogpost-panel.html.tera

9 lines
478 B
Plaintext

<div class="panel content blogpost">
<h1 class="title">{{ blogpost.subject }}</h1>
<h2 class="created-at">{{ blogpost.created_at }} <a href="/blog/{{ blogpost.data.name }}">permalink</a></h2>
<div class="tags">{% for tag in blogpost.tags %}<a class="tag {% if filter_hashset %}{% if tag in filter_hashset %}active{% endif %}{% endif %}" href="/blog?filter={{ tag }}">{{ tag }}</a>{% endfor %}</div>
<div class="blogpost-content">
{{ blogpost.render }}
</div>
</div>