Files
grav-ouidade.com/user/themes/ouidade/templates/partials/base.html.twig
T

69 lines
2.1 KiB
Twig

<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
{% block head %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if header.description %}
<meta name="description" content="{{ header.description }}">
{% else %}
<meta name="description" content="{{ site.description }}">
{% endif %}
{% if header.robots %}
<meta name="robots" content="{{ header.robots }}">
{% endif %}
<link rel="icon" type="image/png" href="{{ theme_url }}/images/favicon.png">
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
{% block stylesheets %}
{# Bootstrap core CSS #}
{# % do assets.add('theme://app/bower_components/foundation/css/foundation.min.css',101) % #}
{# Custom font for this theme #}
{% do assets.add('theme://font/fontwebkit.css',100) %}
{# Custom styles for this theme #}
{% do assets.add('theme://css/styles.css',100) %}
{{ assets.css() }}
{% endblock %}
{% endblock head %}
</head>
<body class="{{bodyclass}}">
<div id="container">
{# include the header + navigation #}
{% include 'partials/header.html.twig' %}
<div id="center" class="row fullwidth">
<div class="large-12 columns">
{% block content %}{% endblock %}
</div>
</div>
{% block bottom %}{% endblock %}
{# include the footer#}
{% include 'partials/footer.html.twig' %}
</div>
{% block javascripts %}
{% do assets.add('theme://bower_components/jquery/dist/jquery.min.js', 101) %}
{% do assets.add('theme://bower_components/foundation/js/foundation.min.js') %}
{% do assets.add('theme://bower_components/imagesloaded/imagesloaded.pkgd.min.js') %}
{% do assets.add('theme://bower_components/masonry/dist/masonry.pkgd.min.js') %}
{% do assets.add('theme://js/dist/script.min.js') %}
{{ assets.js() }}
{% endblock %}
</body>
</html>