147 lines
6.4 KiB
Twig
147 lines
6.4 KiB
Twig
<!DOCTYPE html>
|
|
<!--
|
|
_==/ i i \==_
|
|
/XX/ |\___/| \XX\
|
|
/XXXX\ |XXXXX| /XXXX\
|
|
|XXXXXX\_ _XXXXXXX_ _/XXXXXX|
|
|
XXXXXXXXXXXxxxxxxxXXXXXXXXXXXxxxxxxxXXXXXXXXXXX
|
|
|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
|
|
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
|
|
XXXXXX/^^^^"\XXXXXXXXXXXXXXXXXXXXX/^^^^^\XXXXXX
|
|
|XXX| \XXX/^^\XXXXX/^^\XXX/ |XXX|
|
|
\XX\ \X/ \XXX/ \X/ /XX/
|
|
"\ " \X/ " /"
|
|
-->
|
|
{% apply spaceless %}
|
|
<html lang="fr">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>Blog - {% block meta_title %}{{ _page is defined ? _page.title.value }}{% endblock %}</title>
|
|
|
|
{% block metas %}
|
|
<meta name="description" content="{% block meta_description %}{{ _page is defined and _page ? _page.metaTitle }}{% endblock %}">
|
|
<link rel="openid.server" href="https://id.deblan.org/" />
|
|
<link rel="openid.delegate" href="https://www.deblan.io/" />
|
|
<link rel="openid2.provider" href="https://id.deblan.org/" />
|
|
<link rel="openid2.local_id" href="https://www.deblan.io/" />
|
|
{% endblock %}
|
|
|
|
{% block openGraph %}
|
|
{% if _page is defined and _page %}
|
|
<meta property="og:title" content="{{ _page.ogTitle }}" />
|
|
<meta property="og:url" content="{{ app.request.uri }}" />
|
|
<meta property="og:description" content="{{ _page.ogDescription }}" />
|
|
|
|
{% if _page.ogImage %}
|
|
<meta property="og:image" content="{{ asset(_page.ogImage) }}" />
|
|
<meta property="og:image:secure_url" content="{{ image }}" />
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block css %}
|
|
{{ encore_entry_link_tags('app') }}
|
|
{% endblock %}
|
|
|
|
{#
|
|
<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="https://{{ app.request.host ~ cms_path('rss') }}">
|
|
#}
|
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href="{{ asset('build/webapp/apple-icon-57x57.png') }}">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="{{ asset('build/webapp/apple-icon-60x60.png') }}">
|
|
<link rel="apple-touch-icon" sizes="72x72" href="{{ asset('build/webapp/apple-icon-72x72.png') }}">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="{{ asset('build/webapp/apple-icon-76x76.png') }}">
|
|
<link rel="apple-touch-icon" sizes="114x114" href="{{ asset('build/webapp/apple-icon-114x114.png') }}">
|
|
<link rel="apple-touch-icon" sizes="120x120" href="{{ asset('build/webapp/apple-icon-120x120.png') }}">
|
|
<link rel="apple-touch-icon" sizes="144x144" href="{{ asset('build/webapp/apple-icon-144x144.png') }}">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="{{ asset('build/webapp/apple-icon-152x152.png') }}">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('build/webapp/apple-icon-180x180.png') }}">
|
|
<link rel="icon" type="image/png" href="{{ asset('build/webapp/favicon.png') }}" >
|
|
<link rel="icon" type="image/png" sizes="192x192" href="{{ asset('build/webapp/android-icon-192x192.png') }}">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('build/webapp/favicon.png') }}">
|
|
<link rel="icon" type="image/png" sizes="96x96" href="{{ asset('build/webapp/favicon-96x96.png') }}">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('build/webapp/favicon-16x16.png') }}">
|
|
<link rel="manifest" href="{{ asset('build/webapp/manifest.json') }}">
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
<meta name="msapplication-TileImage" content="{{ asset('build/webapp/ms-icon-144x144.png') }}">
|
|
<meta name="theme-color" content="#ffffff">
|
|
</head>
|
|
<body>
|
|
<div class="page" data-grid="va-stretch">
|
|
{{ include('module/_navigation.html.twig') }}
|
|
|
|
<div class="content">
|
|
<div class="grid">
|
|
<div class="col-12 header">
|
|
<div id="particles"></div>
|
|
|
|
<h1 class="h1">
|
|
{%- block page_title -%}
|
|
{{- 'Simon Vieille' -}}
|
|
{%- endblock -%}
|
|
</h1>
|
|
|
|
{% block page_subtitle %}
|
|
<p class="h3">
|
|
{{- 'DevOp animé par la culture du libre et du hacking' -}}
|
|
</p>
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<div class="grid">
|
|
{% set flashes = app.flashes %}
|
|
|
|
{% if flashes|length %}
|
|
{% for level, messages in flashes %}
|
|
{% for message in messages %}
|
|
<div class="col-12 alert alert-{{ level }}">
|
|
{{- message|nl2br -}}
|
|
</div>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% block body %}
|
|
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
{% set c %}Je soutiens <a href="https://www.tinternet.net/">Tinternet & cie</a>, les <a href="https://chatons.org/">Chatons</a> et l'<a href="https://www.april.org/">April</a>{% endset %}
|
|
|
|
<div class="col-12 content-footer">
|
|
<p>{{- c|raw -}}</p>
|
|
<ul class="list--inline">
|
|
<li>Simon Vieille</li>
|
|
<li>Textes libres sauf indication(s) contraire(s)</li>
|
|
|
|
{% for item in _navigation.menu('footer').rootNode.children %}
|
|
{% if item.isVisible and item.treeLevel == 1 %}
|
|
<li>
|
|
{% if item.hasExternalUrl %}
|
|
<a href="{{ path(item.routeName) }}">
|
|
{{- item.label -}}
|
|
</a>
|
|
{% else %}
|
|
<a href="{{ item.url }}">
|
|
{{- item.label -}}
|
|
</a>
|
|
{% endif %}
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
{% block js %}
|
|
{{ encore_entry_script_tags('app') }}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|
|
{% endapply %}
|