chore: merge home.njk & parent.njk
This commit is contained in:
parent
3a6ea6b30c
commit
dda6cbb598
2 changed files with 36 additions and 55 deletions
|
@ -1,22 +1,39 @@
|
||||||
---
|
<!doctype html>
|
||||||
layout: layouts/parent.njk
|
<html lang="{{ metadata.language }}">
|
||||||
---
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>{{ title or metadata.title }}</title>
|
||||||
|
<meta name="description" content="{{ description or metadata.description }}">
|
||||||
|
|
||||||
<header>
|
{#- Atom and JSON feeds included by default #}
|
||||||
|
<link rel="alternate" href="/feed/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
|
||||||
|
<link rel="alternate" href="/feed/feed.json" type="application/json" title="{{ metadata.title }}">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.svg">
|
||||||
|
|
||||||
|
{#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #}
|
||||||
|
<meta name="generator" content="{{ eleventy.generator }}">
|
||||||
|
|
||||||
|
{%- css %}{% include "public/css/index.css" %}{% endcss %}
|
||||||
|
<style>{% getBundle "css" %}</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<nav>{{ content | toc | safe }}</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
<h1>
|
<h1>
|
||||||
<a href="/" class="home-link">{{ metadata.title }}</a>
|
{{ metadata.title }}
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
|
||||||
|
|
||||||
<main id="skip">
|
|
||||||
<div>
|
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</div>
|
<a href="{{ metadata.source }}" class="btn">Source du site</a>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<aside>
|
|
||||||
<div id="more-info">
|
<footer><a href="https://quarante-douze.net/"><img src="/img/qdouze.gif" alt="Ce site fait partie de Dimension Quarante-Douze" /></a> <a href="https://creativecommons.org/licenses/by-sa/4.0/"><img src="/img/cc-by-sa.png" alt="Tout le contenu de cette page est sous licence Creatve Common Attribution - Partage à l'identique" /></a></footer>
|
||||||
<h2>Sommaire</h2>
|
|
||||||
{{ content | toc | safe }}
|
<!-- Current page: {{ page.url | htmlBaseUrl }} -->
|
||||||
</div>
|
</body>
|
||||||
</aside>
|
</html>
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang="{{ metadata.language }}">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>{{ title or metadata.title }}</title>
|
|
||||||
<meta name="description" content="{{ description or metadata.description }}">
|
|
||||||
|
|
||||||
{#- Atom and JSON feeds included by default #}
|
|
||||||
<link rel="alternate" href="/feed/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
|
|
||||||
<link rel="alternate" href="/feed/feed.json" type="application/json" title="{{ metadata.title }}">
|
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.svg">
|
|
||||||
|
|
||||||
{#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #}
|
|
||||||
<meta name="generator" content="{{ eleventy.generator }}">
|
|
||||||
|
|
||||||
{%- css %}{% include "public/css/index.css" %}{% endcss %}
|
|
||||||
<style>{% getBundle "css" %}</style>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<a href="#skip" class="visually-hidden">Skip to main content</a>
|
|
||||||
|
|
||||||
<nav>
|
|
||||||
<a href="{{ metadata.source }}">Source du site</a>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<div class="wrapper">
|
|
||||||
{{ content | safe }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer><a href="https://quarante-douze.net/"><img src="/img/qdouze.gif" alt="" /><span class="visually-hidden">Site hébergé par Fanstuff Garden.</span></a> <a href="https://creativecommons.org/licenses/by-sa/4.0/"><img src="/img/cc-by-sa.png" alt="" /><span class="visually-hidden">Tout le contenu de cette page est sous licence Creatve Common Attribution - Partage à l'identique.</span></a></footer>
|
|
||||||
|
|
||||||
<!-- Current page: {{ page.url | htmlBaseUrl }} -->
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in a new issue