Initialisation du site.

This commit is contained in:
2026-02-13 18:09:53 +01:00
committed by Alexis Lahouze
parent 14e39093cf
commit 995eba2594
17 changed files with 125 additions and 0 deletions
View File
+3
View File
@@ -0,0 +1,3 @@
{{ with .OutputFormats.Get "rss" }}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
{{ end }}
+1
View File
@@ -0,0 +1 @@
{{ partial "menu.html" }}
+11
View File
@@ -0,0 +1,11 @@
<nav>
<ul>
{{- range site.Menus.main }}
<li>
<a {{ with .Params.class -}} class="{{ . }}" {{ end -}} href="{{ .URL }}">
{{ .Name }}
</a>
</li>
{{- end }}
</ul>
</nav>