From 88fa09755ff31b39b0454f0da58bc41a90263e89 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sat, 10 Feb 2024 06:54:25 +0000 Subject: add initial localisation --- templates/poem-panel.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates/poem-panel.html') 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 %}

{{ title }}

{% endif %} -

{{ poem.created_at.date_naive() }} permalink +

{{ poem.created_at.date_naive() }} {{ + locale.text("permalink").unwrap() }}

{{ poem.content|safe }}
- + \ No newline at end of file -- cgit