diff --git a/ckanext/alisea/templates/base.html b/ckanext/alisea/templates/base.html new file mode 100644 index 0000000..c5319e5 --- /dev/null +++ b/ckanext/alisea/templates/base.html @@ -0,0 +1,15 @@ +{% ckan_extends %} + +{% block htmltag %} + {{ super() }} + {% block gtag %} + {% include 'snippets/gtm.html' %} + {% endblock %} +{% endblock %} + +{% block bodytag %} + {{ super() }} + {% block gtm %} + {% include 'snippets/gtm_noscript.html' %} + {% endblock %} +{% endblock %} \ No newline at end of file diff --git a/ckanext/alisea/templates/footer.html b/ckanext/alisea/templates/footer.html deleted file mode 100644 index 0c2abd2..0000000 --- a/ckanext/alisea/templates/footer.html +++ /dev/null @@ -1,34 +0,0 @@ - -{% include 'snippets/gtm_noscript.html' %} \ No newline at end of file diff --git a/ckanext/alisea/templates/header.html b/ckanext/alisea/templates/header.html deleted file mode 100644 index bd32116..0000000 --- a/ckanext/alisea/templates/header.html +++ /dev/null @@ -1,124 +0,0 @@ -{% include 'snippets/gtm.html' %} -{% set dataset_type = h.default_package_type() %} - -{% block header_wrapper %} {% block header_account %} -
-
- {% block header_account_container_content %} {% if c.userobj %} - - {% else %} - - {% endif %} {% endblock %} -
-
-{% endblock %} -
-
- {% block header_debug %} {% if g.debug and not g.debug_supress_header %} -
Blueprint : {{ g.blueprint }}
View : {{ g.view }}
- {% endif %} {% endblock %} - -
-
-{% endblock %}