aboutsummaryrefslogblamecommitdiffstats
path: root/templates/blogpost-panel.html
blob: 45117b637f94586d249b5c7f32ee0bdd09ca8527 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                                                                    


                                                                                                          




                                 
<div class="panel content blogpost">
  <h1 class="title">{{ blogpost.subject().unwrap_or("untitled") }}</h1>
  <h2 class="created-at">{{ blogpost.published_at() }} <a href="/blog/{{ blogpost.file_name() }}">permalink</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>