{#
===========
GLOBAL META
===========
#}
{#
==================
PAGE-SPECIFIC META
==================
#}
{% block title %}MISSING TITLE{% endblock %}
{# Open Graph properties #}
{# Required #}
{# Optional #}
{# Facebook #}
{% block og_article_author %}{% endblock %}
{# End of Open Graph properties #}
{#
======
STYLES
======
The number of stylesheets here must be kept to a minimum.
Unless adding a significant amount of CSS that is specific to a single page or section of the site,
all new styles should be added to src/static/css/main.less.
To add a stylesheet to a specific page, override the css block with the super directive,
so that your stylesheet is added and main.min.css is retained.
For more info, see the Jinja docs: http://jinja.pocoo.org/docs/dev/templates/#super-blocks
#}
{% block css %}
{% endblock %}
{#
============
HEAD SCRIPTS
============
The following scripts must be included in the head. DO NOT ADD ANY MORE.
All other scripts should go before the closing body tag.
If you come across a script that makes a convincing case to be included in the head,
then file an issue or PR to discuss including it.
The head_scripts block is provided as a hook to use Modernizr in place of
these scripts on select pages, if desired.
#}
{% block head_scripts %}
{# Customized Modernizr build that includes html5shiv.
Built via gulp-modernizer in the cfgov-refresh `scripts.js` task. #}
{% endblock %}
{#
=========
ANALYTICS
=========
#}
{# Google Tag Manager #}
{# End Google Tag Manager #}
{#
=================
BEGIN PAGE SOURCE
=================
#}
{% block body_top %}{% endblock %}
{% block include_header %}
{% include "header.html" %}
{% endblock %}
{# PRIMARY CONTENT #}
{% block content %}
This will be replaced in templates that extend this template and override "content".
{% endblock %}
{# /PRIMARY CONTENT #}
{% block include_footer %}
{% include "footer.html" %}
{% endblock %}
{% block body_bottom %}{% endblock %}
{#
============
BODY SCRIPTS
============
The number of scripts here must be kept to a minimum. Unless adding a significant amount of JS that is
specific to a single page or section of the site, all custom JS should be added to src/static/js/app.js.
To add a script to a specific page, override the body_scripts block with the super directive,
so that your script is added and main.min.js is retained.
For more info, see the Jinja docs: http://jinja.pocoo.org/docs/dev/templates/#super-blocks
#}
{% block body_scripts %}
{% endblock %}