1

Gestion et affichage des liens morts

This commit is contained in:
2025-11-11 17:27:52 +01:00
parent e533dc3fc1
commit 39dbd89397
13 changed files with 892 additions and 1356 deletions

View File

@@ -0,0 +1,34 @@
{{ define "main" }}
{{ partial "hero-page.html" . }}
<main>
<article class="article-body">
{{- if eq .Page.Parent.RelPermalink "/interets/liens-interessants/" -}}
{{- else -}}
{{- if .Params.cover -}}
{{- partial "media/render-image.html" (dict
"Page" .Page
"Destination" .Params.cover
) -}}
{{- end -}}
{{- end -}}
{{ with .TableOfContents }}
{{ if gt (len (plainify .)) 0 }}
<div class="stat">
<strong>
Sommaire
</strong>
{{ . | safeHTML }}
</div>
{{ end }}
{{ end }}
{{ .Content }}
{{- partial "liens-morts/report.html" (dict "Page" .) -}}
{{- partial "asides/keywords.html" . }}
</article>
</main>
{{ end }}