diff options
Diffstat (limited to 'templates/random-poem.html')
-rw-r--r-- | templates/random-poem.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/random-poem.html b/templates/random-poem.html index bdfbaff..f3531d8 100644 --- a/templates/random-poem.html +++ b/templates/random-poem.html @@ -1,8 +1,9 @@ {% if let Some(poem) = poem %} <div class="panel" id="random-poem"> - <h2>random poem</h2> + <h2>{{ locale.text("random-poem").unwrap() }}</h2> <a href="/poetry/{{ poem.file_name }}"> - <h3>{% if let Some(title) = poem.title %}{{ title }}{% else %}permalink{% endif %}</h3> + <h3>{% if let Some(title) = poem.title %}{{ title }}{% else %}{{ locale.text("permalink").unwrap() }}{% endif %} + </h3> </a> <div class="poem-content"> {{ poem.content|safe }} |