67 lines
2.1 KiB
Twig
67 lines
2.1 KiB
Twig
{% set theme_config = attribute(config.themes, config.system.pages.theme) %}
|
|
<!DOCTYPE html>
|
|
<html lang="{{ grav.language.getActive ?: theme_config.default_lang }}">
|
|
<head>
|
|
|
|
{% block head %}
|
|
<meta charset="utf-8" />
|
|
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
|
{% include 'partials/metadata.html.twig' %}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png', true) }}" />
|
|
<link rel="canonical" href="{{ page.url(true, true) }}" />
|
|
|
|
{% block stylesheets %}
|
|
{# {% do assets.addCss('theme://css/normalize.css') %} #}
|
|
{% do assets.addCss('theme://fonts/ubuntu/ubuntu.css') %}
|
|
{% do assets.addCss('theme://css/dashboard.css') %}
|
|
{% endblock %}
|
|
{{ assets.css() }}
|
|
|
|
{% endblock head%}
|
|
</head>
|
|
<body class="{{ page.header.body_classes }}">
|
|
<div id="container" class="_container">
|
|
{% block header %}
|
|
<header id="header" class="_row">
|
|
<div id="logo">
|
|
<h3><a href="{{base_url}}">{{ config.site.title }}</a></h3>
|
|
</div>
|
|
<div id="navbar">
|
|
{% block header_extra %}{% endblock %}
|
|
{% block header_navigation %}
|
|
{# {% include 'partials/navigation.html.twig' %} #}
|
|
<a href="https://esadhar.net/gogs/libre-creation_libre-design/usable">Git Sources</a>
|
|
{% endblock %}
|
|
</div>
|
|
</header>
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
<div id="content" class="row">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block footer %}
|
|
<footer id="footer" class="row">
|
|
<a href="http://www.esadhar.fr">esadhar.fr</a>
|
|
</footer>
|
|
{% endblock %}
|
|
|
|
{% block bottom %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
|
|
{% block javascripts %}
|
|
{% do assets.addJs('jquery',101) %}
|
|
{% do assets.addJs('theme://js/dist/masonry.pkgd.min.js',100) %}
|
|
{% do assets.addJs('theme://js/dist/dashboard.min.js',100) %}
|
|
{% endblock %}
|
|
{{ assets.js() }}
|
|
</body>
|
|
</html>
|