mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-21 21:58:28 +00:00
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" . }}
|
{{ partial "header.html" . }}
|
||||||
<div class="main">
|
<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">
|
<div class="cards">
|
||||||
{{ range .Paginator.Pages }}
|
{{ range .Paginator.Pages }}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|
Loading…
Reference in a new issue