aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-02-12 01:39:00 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2024-02-12 01:39:00 +0000
commit2b8623fde242d379c66e4c532f7cad0dbb2198aa (patch)
treed875588258b57998a1e089a17124e21e9632059b /templates/base.html
parent82ef62654f58eb6212fad1beb3adb2c1c979fb56 (diff)
downloadblossom-2b8623fde242d379c66e4c532f7cad0dbb2198aa.tar.gz
blossom-2b8623fde242d379c66e4c532f7cad0dbb2198aa.tar.bz2
blossom-2b8623fde242d379c66e4c532f7cad0dbb2198aa.zip
add language select widget
Diffstat (limited to '')
-rw-r--r--templates/base.html17
1 files changed, 14 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 428ce40..366d42a 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -29,8 +29,19 @@
<div id="page">
- {% block header %}
- {% endblock header %}
+ <div>
+ <div id="lang-select" class="panel">
+ <a href="?lang=de">de</a>
+ <a href="?lang=en">en</a>
+ <a href="?lang=fr">fr</a>
+ <a href="?lang=ja">ja</a>
+ <a href="?lang=pt">pt</a>
+ <a href="?lang=zh">zh</a>
+ </div>
+
+ {% block header %}
+ {% endblock header %}
+ </div>
<nav class="panel">
<ul id="nav">
@@ -89,4 +100,4 @@
</div>
</body>
-</html> \ No newline at end of file
+</html>