logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 9aafae59590ccf4c25ada62bb476cd74c71b760e
parent 5244720d8d97fa6340de0c0a0e4d767fae55b5eb
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 16 Mar 2019 23:01:33 +0100

templates/{en,fr}/nav.shtml: Add rel=alternate & hreflang=

Diffstat:

Mtemplates/en/nav.shtml2+-
Mtemplates/fr/nav.shtml2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/en/nav.shtml b/templates/en/nav.shtml @@ -13,7 +13,7 @@ </ul></li> <li><a href="/notes">Notes</a></li> </ul><ul class="right"> -<!--#if expr="${transPageUrl}" --> <li><a href="<!--#echo var="transPageUrl" -->">Français</a></li><!--#endif --> +<!--#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="/releases/">/releases/</a></li> <li><a href="/git/">/git/</a></li> diff --git a/templates/fr/nav.shtml b/templates/fr/nav.shtml @@ -12,7 +12,7 @@ </ul></li> <li><a href="/notes">Notes</a></li> </ul><ul class="right"> -<!--#if expr="${transPageUrl}" --> <li><a href="<!--#echo var="transPageUrl" -->">English</a></li><!--#endif --> +<!--#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="/releases/">/releases/</a></li> <li><a href="/git/">/git/</a></li>