commit: ab88a3e28323614ba2aed86d519523a8008ab8b0
parent bc8a654f02e25b0d933ee6fe6a10c7c2a01e768d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 18 Nov 2020 11:30:16 +0100
templates/*/naf.shtml: Put variables at the end
This way the location of the items in the sidebar are predictable,
making it's use faster over time
Diffstat:
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/templates/en/nav.shtml b/templates/en/nav.shtml
@@ -1,12 +1,6 @@
<header>Sorry, I do not value($$$) your privacy. :^)</header>
<nav>
<ul>
-<!--#if expr="${transPageUrl}" --> <li><a rel="alternate" hreflang="fr" href="<!--#echo var="transPageUrl" -->">Français</a></li><!--#endif -->
-<!--#if expr="${feedUrl}" --> <li><a rel="alternate" type="application/atom+xml" href="<!--#echo var="feedUrl" -->">Atom feed</a></li><!--#endif -->
- <li><a href="gemini://hacktivis.me/">gemini-space</a></li>
- <li><a href="https://lanodan.eu/home">Resume</a></li>
- </ul>
- <ul>
<li><a href="/home">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/abgilpqt+">ABGILPQT+</a></li>
@@ -22,4 +16,10 @@
<li><a href="/projects/badwolf">Badwolf</a></li>
<li><a href="/standards">standards</a>: opinions on them</li>
</ul>
+ <ul>
+<!--#if expr="${transPageUrl}" --> <li><a rel="alternate" hreflang="fr" href="<!--#echo var="transPageUrl" -->">Français</a></li><!--#endif -->
+<!--#if expr="${feedUrl}" --> <li><a rel="alternate" type="application/atom+xml" href="<!--#echo var="feedUrl" -->">Atom feed</a></li><!--#endif -->
+ <li><a href="gemini://hacktivis.me/">gemini-space</a></li>
+ <li><a href="https://lanodan.eu/home">Resume</a></li>
+ </ul>
</nav>
diff --git a/templates/fr/nav.shtml b/templates/fr/nav.shtml
@@ -1,11 +1,5 @@
<nav>
<ul>
-<!--#if expr="${transPageUrl}" --> <li><a rel="alternate" hreflang="en" href="<!--#echo var="transPageUrl" -->">English</a></li><!--#endif -->
-<!--#if expr="${feedUrl}" --> <li><a rel="alternate" type="application/atom+xml" href="<!--#echo var="feedUrl" -->">Flux Atom</a></li><!--#endif -->
- <li><a href="gemini://hacktivis.me/">espace gemini</a></li>
- <li><a href="https://lanodan.eu/accueil">CV</a></li>
- </ul>
- <ul>
<li><a href="/accueil">Accueil</a></li>
<li><a href="/%C3%A0%20propos">À propos</a></li>
<li><a href="/animelist">Anime List(en)</a></li>
@@ -17,4 +11,10 @@
<li><a href="/notes/">/notes/</a></li>
<li><a href="/projects/badwolf">Badwolf</a></li>
</ul>
+ <ul>
+<!--#if expr="${transPageUrl}" --> <li><a rel="alternate" hreflang="en" href="<!--#echo var="transPageUrl" -->">English</a></li><!--#endif -->
+<!--#if expr="${feedUrl}" --> <li><a rel="alternate" type="application/atom+xml" href="<!--#echo var="feedUrl" -->">Flux Atom</a></li><!--#endif -->
+ <li><a href="gemini://hacktivis.me/">espace gemini</a></li>
+ <li><a href="https://lanodan.eu/accueil">CV</a></li>
+ </ul>
</nav>