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/latestposts.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates/latestposts.html') diff --git a/templates/latestposts.html b/templates/latestposts.html index e2dfa9f..b2ed2c5 100644 --- a/templates/latestposts.html +++ b/templates/latestposts.html @@ -1,10 +1,11 @@
-

latest posts atom newsfeed

+

{{ locale.text("latest-blogposts").unwrap() }} atom newsfeed

{% for blogpost in blogposts %} - -- cgit
{{ blogpost.subject().unwrap_or("untitled") + {{ + blogpost.subject().unwrap_or(locale.text("untitled").unwrap().as_str()) }}