Introduction des taxonomies avec les tags et catégories
This commit is contained in:
parent
a45cafeed1
commit
e77784f1dc
9 changed files with 30 additions and 3 deletions
6
layouts/_default/list.html
Normal file
6
layouts/_default/list.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{- define "main" -}}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{- .Content -}}
|
||||
{{- partial "edit-meta.html" . -}}
|
||||
{{- partial "pagination.html" . -}}
|
||||
{{- end -}}
|
7
layouts/_default/taxonomy.html
Normal file
7
layouts/_default/taxonomy.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ range .Pages }}
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue