diff options
author | cel 🌸 <cel@blos.sm> | 2024-01-30 16:16:05 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-01-30 16:16:05 +0000 |
commit | f00159f53b3774601500ec65345791311ff6efa1 (patch) | |
tree | cc65a487e71a056126e1935108a494c7851863f9 /templates/blogpost-panel.html | |
parent | 8c03d9a53f4bc2f70fb5c1e0487bc74fe0137fcb (diff) | |
download | blossom-f00159f53b3774601500ec65345791311ff6efa1.tar.gz blossom-f00159f53b3774601500ec65345791311ff6efa1.tar.bz2 blossom-f00159f53b3774601500ec65345791311ff6efa1.zip |
migrate to poem and askama
Diffstat (limited to 'templates/blogpost-panel.html')
-rw-r--r-- | templates/blogpost-panel.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/blogpost-panel.html b/templates/blogpost-panel.html new file mode 100644 index 0000000..6375012 --- /dev/null +++ b/templates/blogpost-panel.html @@ -0,0 +1,10 @@ +<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().clone() %}<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>
\ No newline at end of file |