blob: 2871407d67057933255c1abe6ba46e32b00880ea (
plain) (
tree)
|
|
<div class="panel content blogpost">
<h1 class="title">{{ blogpost.subject().unwrap_or(locale.text("untitled").unwrap().as_str()) }}</h1>
<h2 class="created-at">{{ blogpost.published_at() }} <a href="/blog/{{ blogpost.file_name() }}">{{
locale.text("permalink").unwrap() }}</a></h2>
<div class="tags">{% for tag in blogpost.tags() %}{% let tag = tag.to_string() %}<a
class="tag {% if filter_tags.contains(tag) %}active{% endif %}" href="/blog?filter={{ tag }}">{{ tag
}}</a>{%
endfor %}</div>
<div class="blogpost-content">
{{ blogpost.content()|safe }}
</div>
</div>
|