feat: add auto menu
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<title>{{ site.subject }} — {{ title }}</title>
|
||||
<link rel="preload" href="/assets/css/reset.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link rel="preload" href="/assets/css/theme.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link rel="preload" href="/assets/css/helpers.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<link rel="stylesheet" href="/assets/css/main.css">
|
||||
<link rel="stylesheet" href="/assets/css/typography.css">
|
||||
<link rel="stylesheet" href="/assets/css/header.css">
|
||||
@@ -15,6 +16,7 @@
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="/assets/css/reset.css">
|
||||
<link rel="stylesheet" href="/assets/css/theme.css">
|
||||
<link rel="stylesheet" href="/assets/css/helpers.css">
|
||||
</noscript>
|
||||
</head>
|
||||
|
||||
@@ -22,17 +24,14 @@
|
||||
<header>
|
||||
<img src="/assets/images/brand.jpg" alt="Logo du {{ site.subject }}" />
|
||||
<nav>
|
||||
<a href="/">Accueil</a>
|
||||
<a href="/actions">Actions</a>
|
||||
<a href="/contact">Contact</a>
|
||||
<a href="/faq">FAQ</a>
|
||||
<a href="/ressources">Ressources</a>
|
||||
<a href="/blog">Blog</a>
|
||||
{{#each collections.nav}}
|
||||
<a href="{{ this.path }}">{{ this.title }}</a>
|
||||
{{/each}}
|
||||
</nav>
|
||||
<button id="theme-toggle" class="theme-toggle">🌙</button>
|
||||
</header>
|
||||
<main>
|
||||
<h1>{{ title }}</h1>
|
||||
<h1 class="hidden">{{ title }}</h1>
|
||||
{{{ contents }}}
|
||||
{{!-- {{#if postlist}}
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user