blob: f3531d85b245cbdf7c60a621bfae039f7a80a5b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{% if let Some(poem) = poem %}
<div class="panel" id="random-poem">
<h2>{{ locale.text("random-poem").unwrap() }}</h2>
<a href="/poetry/{{ poem.file_name }}">
<h3>{% if let Some(title) = poem.title %}{{ title }}{% else %}{{ locale.text("permalink").unwrap() }}{% endif %}
</h3>
</a>
<div class="poem-content">
{{ poem.content|safe }}
</div>
</div>
{% endif %}
|