aboutsummaryrefslogtreecommitdiffstats
path: root/templates/poem-panel.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2026-01-02 00:37:45 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2026-01-02 00:37:45 +0100
commite77949acd6c62f698727f84d03d5f3aacba1004c (patch)
treefd13ebe02cc462206351cbc81167ce0bd3c034cb /templates/poem-panel.html
parent5218f890e487108202c1331096fcbeb67446d932 (diff)
downloadblossom-e77949acd6c62f698727f84d03d5f3aacba1004c.tar.gz
blossom-e77949acd6c62f698727f84d03d5f3aacba1004c.tar.bz2
blossom-e77949acd6c62f698727f84d03d5f3aacba1004c.zip
redesign poem panel
Diffstat (limited to 'templates/poem-panel.html')
-rw-r--r--templates/poem-panel.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/poem-panel.html b/templates/poem-panel.html
index e1fb016..17eb8a0 100644
--- a/templates/poem-panel.html
+++ b/templates/poem-panel.html
@@ -1,10 +1,10 @@
<div
style="top: {{ self::thread_rng().gen_range(-jiggle..=jiggle) }}vw; left: {{ self::thread_rng().gen_range(-4..=4) }}vw"
class="panel content poem">
- {% if let Some(title) = poem.title %}<h1 class="title">{{ title }}</h1>{% endif %}
<h2 class="created-at">{{ poem.created_at.date_naive() }} <a href="/poetry/{{ poem.file_name }}">{{
locale.text("permalink").unwrap() }}</a>
</h2>
+ {% if let Some(title) = poem.title %}<h1 class="title">{{ title }}</h1>{% endif %}
<div class="poem-content">
{{ poem.content|safe }}
</div>