erratum/_includes/layouts/parent.njk

80 lines
3 KiB
Text
Raw Permalink Normal View History

2023-05-24 22:54:51 +02:00
<!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.png">
{#- Uncomment this if youd like folks to know that you used Eleventy to build your site! #}
<meta name="generator" content="{{ eleventy.generator }}">
2023-05-28 13:50:25 +02:00
<script src="/js/datatables.js"></script>
2023-05-24 22:54:51 +02:00
{%- css %}{% include "public/css/index.css" %}{% endcss %}
2023-05-28 13:50:25 +02:00
{%- css %}{% include "public/css/datatables.css" %}{% endcss %}
2023-05-24 22:54:51 +02:00
<style>{% getBundle "css" %}</style>
</head>
<body>
<a href="#skip" class="visually-hidden">Skip to main content</a>
<header>
<h1>
2024-02-16 15:41:44 +01:00
<a href="/" class="home-link"><img src="/img/logo-small.png" alt=""><span class="visually-hidden">{{ metadata.title }}</span></a>
2023-05-24 22:54:51 +02:00
</h1>
<nav>
<h2 class="visually-hidden">Top level navigation menu</h2>
<ul class="nav">
<li class="nav-item"><a href="/">Accueil</a></li>
2024-08-13 22:06:21 +02:00
<li class="nav-item"><a href="/bienveillance/">Bienveillance</a></li>
2023-09-01 21:49:01 +02:00
<li class="nav-item"><a href="/tl-dr/">TL; DR</a></li>
2023-05-24 22:54:51 +02:00
</ul>
<ul class="nav">
2023-06-10 11:15:59 +02:00
<li class="nav-item"><a href="/fiches/">Fiches téléchargeables</a></li>
2023-05-24 22:54:51 +02:00
<li class="nav-item"><a href="https://git.kobold.cafe/univers/erratum">Code Source</a></li>
</ul>
</nav>
</header>
<div class="wrapper">
<nav id="sidebar">
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml({anchorClass: "itemLink",activeAnchorClass: "active",activeListItemClass: "active",activeKey: eleventyNavigation.key, listClass: "nav", listItemClass: "item"}) | safe }}
</nav>
{{ content | safe }}
</div>
<footer>
<a href="https://kazhnuz.space"><img src="/img/kazhnuz.space.png" alt="" /><span class="visually-hidden">Site faisant partie de kazhnuz.space</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>
2023-05-24 22:54:51 +02:00
<!-- Current page: {{ page.url | htmlBaseUrl }} -->
2023-05-28 13:50:25 +02:00
<script>
const myTable = document.querySelector("#dataTable table");
console.log(myTable);
if (myTable) {
let labels = {
placeholder: "Chercher...",
searchTitle: "Chercher dans le tableau",
perPage: "lignes par page",
noRows: "Aucune lignée trouvée",
info: "Résultats {start} à {end} sur {rows}",
noResults: "Aucun résultat ne correspond à votre recherche",
};
let dataTable = new simpleDatatables.DataTable("#dataTable table", {
labels,
});
}
</script>
2023-05-24 22:54:51 +02:00
</body>
</html>