Nettoyage des templates inutiles.

This commit is contained in:
2026-03-11 00:20:49 +01:00
parent 62a312fb6e
commit 7fcbb51896
3 changed files with 0 additions and 28 deletions
-19
View File
@@ -1,19 +0,0 @@
{{ define "main" }}
{{ if eq .Kind "home" }}
{{ .Content }}
{{ range .Site.RegularPages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
{{ else if eq .Kind "page" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ else if in (slice "section" "taxonomy" "term") .Kind }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
{{ else }}
{{ errorf "Unsupported page kind: %s" .Kind }}
{{ end }}
{{ end }}
-6
View File
@@ -1,6 +0,0 @@
{{ define "main" }}
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
{{ end }}
-3
View File
@@ -1,3 +0,0 @@
{{ define "main" }}
{{ .Content }}
{{ end }}