From e1e287ba85f14a1aad5f7e95c6fb744bc66242a8 Mon Sep 17 00:00:00 2001 From: Abdellah Chelli Date: Thu, 11 May 2017 11:12:39 +0100 Subject: [PATCH] Add canonical link and clean alternative link in WUI, related to #406 SEO issue * Add canonical link to HTML header with only 'query' as parameter * Remove the tailing '?' from alternative link in HTML header for empty requests --- src/alfanous-django/templates/base.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/alfanous-django/templates/base.html b/src/alfanous-django/templates/base.html index 38cca93f0..3fbc1a8ff 100644 --- a/src/alfanous-django/templates/base.html +++ b/src/alfanous-django/templates/base.html @@ -55,14 +55,14 @@ - - + + + {% for lang_code, lang_name in LANGUAGES %} {% language lang_code %} - - + {% endlanguage %} - {% endfor %} + {% endfor %}