{% import "templates/mixins/flash-messages.html" as FM %}
{{ title|default("<%= _projectName %>") }}
{# Customise the stylesheet for your site by editing /public/styles/site.<% if (preprocessor === 'less') { %>less
//- All .less files will be automatically compiled and minified in production.<% } else { %>sass<% } %> #}
{# This file provides the default styling for the KeystoneJS Content Editor #}
{% if user and user.canAccessKeystone %}
{% endif %}
{# HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries
Safely remove this block if you are not targeting IE8 #}
{# Include template-specific stylesheets by extending the css block #}
{% block css %}{% endblock %}
{# Add any other template-specific HEAD tags by extending the head block #}
{% block head %}{% endblock %}
{# HEADER #}
{# Customise your site"s navigation by changing the navLinks Array in ./routes/middleware.js
... or completely change this header to suit your design. #}
{# NOTE:
There is no .container wrapping class around body blocks to allow more flexibility in design.
Remember to include it in your templates when you override the intro and content blocks! #}
{# The Intro block appears above flash messages (used for temporary information display) #}
{% block intro %}{% endblock %}
{# Flash messages allow you to display once-off status messages to users, e.g. form
validation errors, success messages, etc. #}
{{ FM.flashMessages(messages) }}
{# The content block should contain the body of your template"s content #}
{% block content %}{% endblock %}
{# FOOTER #}
{# JAVASCRIPT #}
{# jQuery 1.11.3 is included by default, and required by both Bootstrap
and the KeystoneJS Content Editor. If you are not targeting IE8,
you can upgrade to 2.1.4 (also bundled) for better performance. #}
{# Customise which Bootstrap javascript files are served by including
them specifically here, instead of bootstrap-3.3.5.min.js #}
{# The KeystoneJS Content Editor provides support for ks-editable data attributes,
which generate links to edit content for users who can access Keystone #}
{% if user and user.canAccessKeystone %}
{% endif %}
{# Add scripts that are globally required by your site here. #}
{# Include template-specific javascript files by extending the js block #}
{% block js %}{% endblock %}