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/home.html | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'templates/home.html') diff --git a/templates/home.html b/templates/home.html index 7bbed9e..3e34cae 100644 --- a/templates/home.html +++ b/templates/home.html @@ -6,7 +6,7 @@
-

celeste 🌸

+

{{ locale.text("name").unwrap() }}

{% if is_live %} @@ -16,7 +16,8 @@ {% endif %} {% if listenbrainz.is_scrobbling %} - now playing: {{ + {{ locale.text("now-playing").unwrap() + }}: {{ listenbrainz.song.clone().unwrap_or_default() }} - {{ listenbrainz.artist.clone().unwrap_or_default() }} {% endif %} @@ -28,13 +29,7 @@ {% block content %}
-

hallo i am celeste welcome 2 my site 🌟

-

this is where i do the posting

-

i wish u a wonderful day

-
- -

perpetually under construction

- + {{ locale.text("welcome").unwrap()|safe }}
{% endblock content %} @@ -44,10 +39,10 @@ -{% endblock aside %} \ No newline at end of file +{% endblock aside %} -- cgit