Show title and content for taxonomies pages

This commit is contained in:
vimux 2018-03-03 23:47:33 +03:00
parent aff7c3515f
commit 12d054be4f

View file

@ -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">