From f38aaecc9a6abed226648417338baff032be8187 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Wed, 31 Jan 2024 22:12:02 +0000 Subject: add random-poem panel --- templates/random-poem.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/random-poem.html (limited to 'templates/random-poem.html') diff --git a/templates/random-poem.html b/templates/random-poem.html new file mode 100644 index 0000000..bdfbaff --- /dev/null +++ b/templates/random-poem.html @@ -0,0 +1,11 @@ +{% if let Some(poem) = poem %} +
+

random poem

+ +

{% if let Some(title) = poem.title %}{{ title }}{% else %}permalink{% endif %}

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