gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-www] branch master updated: add rel tag to Mastodon and Finnish t


From: gnunet
Subject: [taler-www] branch master updated: add rel tag to Mastodon and Finnish to the language switcher
Date: Fri, 15 Mar 2024 08:07:47 +0100

This is an automated email from the git hooks/post-receive script.

skuegel pushed a commit to branch master
in repository www.

The following commit(s) were added to refs/heads/master by this push:
     new 7ed89cbe add rel tag to Mastodon and Finnish to the language switcher
7ed89cbe is described below

commit 7ed89cbe5161d845d5555a439efbb4527d758571
Author: Stefan Kügel <skuegel@web.de>
AuthorDate: Fri Mar 15 08:07:39 2024 +0100

    add rel tag to Mastodon and Finnish to the language switcher
---
 common/base.j2           |  1 +
 common/header.j2.inc     | 12 ++++++++----
 common/navigation.j2.inc | 30 ++++++++++++++++++------------
 3 files changed, 27 insertions(+), 16 deletions(-)

diff --git a/common/base.j2 b/common/base.j2
index f5e2e9f1..d2c96118 100644
--- a/common/base.j2
+++ b/common/base.j2
@@ -17,6 +17,7 @@
     <meta property="og:image" content="/favicon.ico" />
     <meta property="og:image" content="{{ url_static('images/favicon.png') }}" 
/>
     <meta name="description" content="{{ _('A payment system that makes 
privacy-friendly online transactions fast and easy.') }}" />
+    <link rel="me" href="https://mastodon.social/@taler";>
     {% include "common/header.j2.inc" %}
     {% block head_content %}{% endblock %}
   </head>
diff --git a/common/header.j2.inc b/common/header.j2.inc
index f8d797e9..f97bcc09 100644
--- a/common/header.j2.inc
+++ b/common/header.j2.inc
@@ -3,7 +3,7 @@
         @licstart  The following is the entire license notice for the
         JavaScript code in this page.
 
-        Copyright (C) 2014, 2015, 2016, 2020, 2021, 2022 Taler Systems SA
+        Copyright (C) 2014, 2015, 2016, 2020, 2021, 2022, 2023, 2024 Taler 
Systems SA
 
         The JavaScript code in this page is free software: you can
         redistribute it and/or modify it under the terms of the GNU
@@ -27,21 +27,25 @@
     <link rel="icon" type="image/ico" href="/favicon.ico?v=2">
     <link rel="alternate" hreflang="en" href="{{ self_localized('en') }}" />
     <link rel="alternate" hreflang="ar" href="{{ self_localized('ar') }}" />
-    <link rel="alternate" hreflang="zh-hant" href="{{ 
self_localized('zh_Hant') }}" />
     <link rel="alternate" hreflang="cs" href="{{ self_localized('cs') }}" />
-    <link rel="alternate" hreflang="fr" href="{{ self_localized('fr') }}" />
     <link rel="alternate" hreflang="de" href="{{ self_localized('de') }}" />
+    <link rel="alternate" hreflang="es" href="{{ self_localized('es') }}" />
+    <link rel="alternate" hreflang="fi" href="{{ self_localized('fi') }}" />
+    <link rel="alternate" hreflang="fr" href="{{ self_localized('fr') }}" />
     <link rel="alternate" hreflang="hi" href="{{ self_localized('hi') }}" />
     <link rel="alternate" hreflang="hu" href="{{ self_localized('hu') }}" />
     <link rel="alternate" hreflang="it" href="{{ self_localized('it') }}" />
     <link rel="alternate" hreflang="ja" href="{{ self_localized('ja') }}" />
     <link rel="alternate" hreflang="ko" href="{{ self_localized('ko') }}" />
+    <link rel="alternate" hreflang="nl" href="{{ self_localized('nl') }}" />
     <link rel="alternate" hreflang="pt" href="{{ self_localized('pt') }}" />
     <link rel="alternate" hreflang="pt-br" href="{{ self_localized('pt_BR') 
}}" />
     <link rel="alternate" hreflang="ru" href="{{ self_localized('ru') }}" />
-    <link rel="alternate" hreflang="es" href="{{ self_localized('es') }}" />
     <link rel="alternate" hreflang="sv" href="{{ self_localized('sv') }}" />
     <link rel="alternate" hreflang="tr" href="{{ self_localized('tr') }}" />
+    <link rel="alternate" hreflang="uk" href="{{ self_localized('uk') }}" />
+    <link rel="alternate" hreflang="zh-hant" href="{{ 
self_localized('zh_Hant') }}" />
+    <link rel="alternate" hreflang="zh-hans" href="{{ 
self_localized('zh_Hans') }}" />
 
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index 16a5bdb2..a43bdab0 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -60,18 +60,21 @@
           {% if lang != 'ar' %}
             <li><a class="dropdown-item" href="{{ self_localized('ar') 
}}">عربى [ar]</a></li>
           {% endif %}
-          {% if lang != 'zh_Hant' %}
-            <li><a class="dropdown-item" href="{{ self_localized('zh_Hant') 
}}">繁體中文 [zh]</a></li>
+    <!--  {% if lang != 'cs' %}
+            <li><a class="dropdown-item" href="{{ self_localized('cs') 
}}">Česky [cs]</a></li>
+          {% endif %} -->
+          {% if lang != 'de' %}
+            <li><a class="dropdown-item" href="{{ self_localized('de') 
}}">Deutsch [de]</a></li>
           {% endif %}
-          {% if lang != 'zh_Hans' %}
-            <li><a class="dropdown-item" href="{{ self_localized('zh_Hans') 
}}">简体中文 [zh_Hans]</a></li>
+          {% if lang != 'es' %}
+            <li><a class="dropdown-item" href="{{ self_localized('es') 
}}">Espa&ntilde;ol [es]</a></li>
+          {% endif %}
+          {% if lang != 'fi' %}
+            <li><a class="dropdown-item" href="{{ self_localized('fi') 
}}">Suomen kieli [fi]</a></li>
           {% endif %}
           {% if lang != 'fr' %}
             <li><a class="dropdown-item" href="{{ self_localized('fr') 
}}">Fran&ccedil;ais [fr]</a></li>
           {% endif %}
-          {% if lang != 'de' %}
-            <li><a class="dropdown-item" href="{{ self_localized('de') 
}}">Deutsch [de]</a></li>
-          {% endif %}
           {% if lang != 'hu' %}
             <li><a class="dropdown-item" href="{{ self_localized('hu') 
}}">Magyar [hu]</a></li>
           {% endif %}
@@ -91,23 +94,26 @@
             <li><a class="dropdown-item" href="{{ self_localized('pt') 
}}">Portugu&ecirc;s [pt]</a></li>
           {% endif %} -->
     <!--  {% if lang != 'pt_BR' %}
-            <li><a class="dropdown-item" href="{{ self_localized('pt_BR') 
}}">Portugu&ecirc;s (Brazil) [pt]</a></li>
+            <li><a class="dropdown-item" href="{{ self_localized('pt_BR') 
}}">Portugu&ecirc;s (Brazil) [pt_BR]</a></li>
           {% endif %} -->
           {% if lang != 'ru' %}
             <li><a class="dropdown-item" href="{{ self_localized('ru') 
}}">&#x420;&#x443;&#x301;&#x441;&#x441;&#x43A;&#x438;&#x439;&#x20;&#x44F;&#x437;&#x44B;&#x301;&#x43A;
 [ru]</a></li>
           {% endif %}
-          {% if lang != 'es' %}
-            <li><a class="dropdown-item" href="{{ self_localized('es') 
}}">Espa&ntilde;ol [es]</a></li>
-          {% endif %}
           {% if lang != 'sv' %}
             <li><a class="dropdown-item" href="{{ self_localized('sv') 
}}">Svenska [sv]</a></li>
           {% endif %}
           {% if lang != 'tr' %}
             <li><a class="dropdown-item" href="{{ self_localized('tr') 
}}">T&uuml;rk&ccedil;e [tr]</a></li>
           {% endif %}
-          {% if lang != 'tr' %}
+          {% if lang != 'uk' %}
             <li><a class="dropdown-item" href="{{ self_localized('uk') 
}}">Українська [uk]</a></li>
           {% endif %}
+          {% if lang != 'zh_Hant' %}
+            <li><a class="dropdown-item" href="{{ self_localized('zh_Hant') 
}}">繁體中文 [zh]</a></li>
+          {% endif %}
+          {% if lang != 'zh_Hans' %}
+            <li><a class="dropdown-item" href="{{ self_localized('zh_Hans') 
}}">简体中文 [zh_Hans]</a></li>
+          {% endif %}
           </ul>
         </div>
       </div>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]