{# Allows the DOCTYPE to be set on a page by page basis #} {%- block doctype %}{% endblock -%} {# Allows custom attributes to be added to the tag #} {%- block htmltag -%} {% set lang = h.lang() %} {%- endblock -%} {# Allows custom attributes to be added to the tag #} {# Append a .js class to the html element #} {# Add custom meta tags to the page. Call super() to get the default tags such as charset, viewport and generator. Example: {% block meta %} {{ super() }} {% endblock %} #} {%- block meta -%} {%- endblock -%} {# Add a custom title to the page by extending the title block. Call super() to get the default page title. Example: {% block title %}My Subtitle - {{ super() }}{% endblock %} #} {% block title %}CKAN{% endblock %} {# The html5shim allows you to modify/override the html5 shim. This is useful for modifying it's behaviour or removing it completely. #} {%- block html5shim -%} {# Temporary link until we get resource helper working #} {%- endblock -%} {# The links block allows you to add additonal content before the stylesheets such as rss feeds and favicons in the same way as the meta block. #} {% block links -%} {% endblock -%} {# The styles block allows you to add additonal stylesheets to the page in the same way as the meta block. Use super() to include the default stylesheets before or after your own. Example: {% block styles %} {{ super() }} {% endblock %} #} {%- block styles %} {% endblock %} {# Allows custom attributes to be added to the tag #} {# The page block allows you to add content to the page. Most of the time it is recommended that you extend one of the page.html templates in order to get the site header and footer. If you need a clean page then this is the block to use. Example: {% block page %}
Some other page content
{% endblock %} #} {%- block page %}{% endblock -%} {# The scripts block allows you to add additonal scripts to the page. Use the super() function to load the default scripts before/after your own. Example: {% block scripts %} {{ super() }} {% endblock %} #} {%- block scripts %} {% endblock -%}