aboutsummaryrefslogtreecommitdiffstats
path: root/templates/contact.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-02-10 06:54:25 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2024-02-10 06:54:25 +0000
commit88fa09755ff31b39b0454f0da58bc41a90263e89 (patch)
tree31e91e27324366bbea20b4af2a17ec10f73322e9 /templates/contact.html
parent205a71efa9f60938c86d57bba07f6d33b21790a2 (diff)
downloadblossom-88fa09755ff31b39b0454f0da58bc41a90263e89.tar.gz
blossom-88fa09755ff31b39b0454f0da58bc41a90263e89.tar.bz2
blossom-88fa09755ff31b39b0454f0da58bc41a90263e89.zip
add initial localisation
Diffstat (limited to '')
-rw-r--r--templates/contact.html21
1 files changed, 11 insertions, 10 deletions
diff --git a/templates/contact.html b/templates/contact.html
index 4302e88..d6534fd 100644
--- a/templates/contact.html
+++ b/templates/contact.html
@@ -6,7 +6,7 @@
<header>
<div class="panel" id="title">
- <h1>celeste 🌸</h1>
+ <h1>{{ locale.text("name").unwrap() }}</h1>
</div>
</header>
@@ -15,21 +15,22 @@
{% block content %}
<div class="content panel h-card" rel="author">
- <h1 class="p-name">cel</h1>
+ <h1 class="p-name">{{ locale.text("name").unwrap() }}</h1>
<ul>
<li>
- <h3>pronouns: <span class="p-x-pronoun-nominative">she</span>/<span class="p-x-pronoun-accusative">her</span></h3>
+ <h3>{{ locale.text("pronouns").unwrap()|safe }}</h3>
</li>
- <li>email: <a class="u-email" href="mailto:cel@blos.sm">cel@blos.sm</a></li>
- <li>jabber: <a class="u-impp" href="xmpp:cel@blos.sm?message">cel@blos.sm</a></li>
- <li>scrobbles: <a class="u-url" href="https://listenbrainz.org/user/celblossom">listenbrainz/celblossom</a></li>
- <li>bandcamp fan: <a class="u-url" href="https://bandcamp.com/celblossom">bandcamp/celblossom</a></li>
+ <li>{{ locale.text("email").unwrap() }}: <a class="u-email" href="mailto:cel@blos.sm">cel@blos.sm</a></li>
+ <li>{{ locale.text("jabber").unwrap() }}: <a class="u-impp" href="xmpp:cel@blos.sm?message">cel@blos.sm</a></li>
+ <li>{{ locale.text("scrobbles").unwrap() }}: <a class="u-url"
+ href="https://listenbrainz.org/user/celblossom">listenbrainz/celblossom</a></li>
+ <li>{{ locale.text("bandcamp-fan").unwrap() }}: <a class="u-url"
+ href="https://bandcamp.com/celblossom">bandcamp/celblossom</a></li>
<br>
- <li><span class="p-note">languages (in rough skill order): english, portuguese, french, japanese, german, chinese,
- latin, toki pona, korean</span></li>
+ <li><span class="p-note">{{ locale.text("languages").unwrap() }}</span></li>
</li>
- <li><span class="p-note">programming: rust, erlang, go, haskell, webdev, lisp</span></li>
+ <li><span class="p-note">{{ locale.text("programming").unwrap() }}</span></li>
</ul>
</div>