aboutsummaryrefslogtreecommitdiffstats
path: root/templates/poem-panel.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/poem-panel.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/poem-panel.html b/templates/poem-panel.html
index 3359578..e1fb016 100644
--- a/templates/poem-panel.html
+++ b/templates/poem-panel.html
@@ -2,9 +2,10 @@
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 }}">permalink</a>
+ <h2 class="created-at">{{ poem.created_at.date_naive() }} <a href="/poetry/{{ poem.file_name }}">{{
+ locale.text("permalink").unwrap() }}</a>
</h2>
<div class="poem-content">
{{ poem.content|safe }}
</div>
-</div>
+</div> \ No newline at end of file