Show title and content for taxonomies pages
This commit is contained in:
parent
aff7c3515f
commit
12d054be4f
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
{{ partial "header.html" . }}
|
||||
<div class="main">
|
||||
{{- if not .IsHome}}
|
||||
<div class="page block">
|
||||
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Content }}<div class="page__content">{{ . }}</div>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="cards">
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="card">
|
||||
|
|
Loading…
Reference in a new issue