aboutsummaryrefslogtreecommitdiffstats
path: root/templates/poem-panel.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-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>