86 lines
4.7 KiB
HTML
86 lines
4.7 KiB
HTML
<!doctype html>
|
|
<html lang="{{ lang }}">
|
|
{% set nav_path = current_path if current_path is defined else "" %}
|
|
{% set atom_enabled = config.generate_feeds and "atom.xml" in config.feed_filenames %}
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="{% block description -%}
|
|
{%- if page is defined and page.description -%}
|
|
{{- page.description -}}
|
|
{%- elif section is defined and section.description -%}
|
|
{{- section.description -}}
|
|
{%- elif term is defined -%}
|
|
{%- set term_label = term.name | replace(from="-", to=" ") if taxonomy.name != "lectures" else term.name -%}
|
|
Contenus associés à « {{ term_label }} » dans {{ config.title }}.
|
|
{%- elif taxonomy is defined -%}
|
|
Index « {{ taxonomy.name }} » de {{ config.title }}.
|
|
{%- else -%}
|
|
{{- config.description -}}
|
|
{%- endif -%}
|
|
{%- endblock description %}">
|
|
<meta name="author" content="{{ config.author }}">
|
|
{% if current_url is defined %}<link rel="canonical" href="{{ current_url }}">{% endif %}
|
|
<meta property="og:site_name" content="{{ config.title }}">
|
|
{% if atom_enabled %}
|
|
<link rel="alternate" type="application/atom+xml" title="{{ config.title }} — Atom"
|
|
href="{{ get_url(path='atom.xml', trailing_slash=false) }}">
|
|
{% endif %}
|
|
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
|
<link rel="icon" type="image/png" sizes="64x64" href="{{ get_url(path='images/favicon.png') }}">
|
|
<link rel="stylesheet" href="{{ get_url(path='giallo.css', trailing_slash=false) }}">
|
|
<link rel="stylesheet" href="{{ get_url(path='main.css') }}">
|
|
</head>
|
|
<body>
|
|
{% if nav_path == "/" %}
|
|
<div itemscope itemtype="https://schema.org/WebSite">
|
|
<link itemprop="url" href="{{ get_url(path='@/_index.md') }}">
|
|
<meta itemprop="name" content="{{ config.title }}">
|
|
<meta itemprop="alternateName" content="lescarnetsdakkadien.netig.net">
|
|
</div>
|
|
{% endif %}
|
|
|
|
<a class="skip-link" href="#contenu">Aller au contenu</a>
|
|
|
|
<header class="site-header">
|
|
<div class="container site-header__inner">
|
|
<a class="site-title" href="{{ get_url(path='@/_index.md') }}">
|
|
<span class="site-title__text">{{ config.title }}</span>
|
|
<span class="site-title__cuneiform" lang="akk-Xsux" aria-hidden="true">𒀝𒅗𒁺𒌑𒌝</span>
|
|
</a>
|
|
|
|
<nav class="site-nav" aria-label="Navigation principale">
|
|
<ul>
|
|
<li><a href="{{ get_url(path='@/signes/_index.md') }}"{% if "/signes/" in nav_path or "/lectures/" in nav_path %} aria-current="location"{% endif %}>Signes</a></li>
|
|
<li><a href="{{ get_url(path='@/vocabulaire/_index.md') }}"{% if "/vocabulaire/" in nav_path or "/natures/" in nav_path %} aria-current="location"{% endif %}>Vocabulaire</a></li>
|
|
<li><a href="{{ get_url(path='@/grammaire/_index.md') }}"{% if "/grammaire/" in nav_path or "/themes/" in nav_path %} aria-current="location"{% endif %}>Grammaire</a></li>
|
|
<li><a href="{{ get_url(path='@/textes/_index.md') }}"{% if "/textes/" in nav_path or "/genres/" in nav_path %} aria-current="location"{% endif %}>Textes</a></li>
|
|
<li><a href="{{ get_url(path='@/articles/_index.md') }}"{% if "/articles/" in nav_path %} aria-current="location"{% endif %}>Articles</a></li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main id="contenu" class="container site-main">
|
|
{% block content %}{% endblock content %}
|
|
</main>
|
|
|
|
<footer class="site-footer">
|
|
<div class="container site-footer__inner">
|
|
<div class="site-footer__links">
|
|
<address class="site-footer__contact"><a href="mailto:{{ config.extra.email }}">Me contacter</a></address>
|
|
<nav aria-label="Liens complémentaires">
|
|
<a href="{{ get_url(path='@/bibliographie.md') }}">Bibliographie</a>
|
|
<a href="{{ get_url(path='@/mentions-legales.md') }}">Mentions légales</a>
|
|
{% if atom_enabled %}<a href="{{ get_url(path='atom.xml', trailing_slash=false) }}" type="application/atom+xml">Flux Atom</a>{% endif %}
|
|
</nav>
|
|
</div>
|
|
<p class="site-footer__license"><small>
|
|
Sauf mention contraire, le contenu original du site web {{ config.author }} est placé sous licence
|
|
<a href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr" rel="license">CC BY-SA 4.0</a>
|
|
</small></p>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|