diff --git a/theme/templates/base.html b/theme/templates/base.html index 5512a93..ac646bd 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -25,13 +25,6 @@ {% endif %} - - {% if request.path == '/en/library/ch-dcat-ap.html' %} - - {% endif %} - {% block canonical_rel %}{% endblock %} {% block meta %} diff --git a/theme/templates/index.html b/theme/templates/index.html index 71dce96..1d49191 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -1,6 +1,13 @@ {% extends "article_list.html" %} -{% block canonical_rel %}{% endblock %} +{% block canonical_rel %} + + {% if SITEURL == "https://opendata-swiss.github.io/ogd-handbook-site/en/library/ch-dcat-ap.html" %} + + {% endif %} +{% endblock %} {% block banner %} {% include 'includes/banner.html' %}