Introduction des taxonomies avec les tags et catégories

This commit is contained in:
Stanislas Jouffroy 2025-03-22 00:22:01 +01:00
parent a45cafeed1
commit e77784f1dc
9 changed files with 30 additions and 3 deletions

View file

@ -0,0 +1,6 @@
{{- define "main" -}}
<h1>{{ .Title }}</h1>
{{- .Content -}}
{{- partial "edit-meta.html" . -}}
{{- partial "pagination.html" . -}}
{{- end -}}

View file

@ -0,0 +1,7 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
{{ end }}