Merge branch 'mikijov-content'

This commit is contained in:
Joe Hutchinson
2019-07-19 11:13:24 -04:00
2 changed files with 11 additions and 2 deletions

View File

@@ -161,6 +161,10 @@ strong {
line-height: 1.6;
margin: 0;
}
.list-header-content {
margin: 5em 0;
line-height: 1.6em;
}
.card-container {
max-width: 49rem;
}

View File

@@ -8,6 +8,11 @@
<p class="list-header-subtext">{{ .Description }}</p>
<h1 class="list-header-title">{{ .Title }}</h1>
</header>
{{ with .Content -}}
<section class="list-header-content">
{{ . }}
</section>
{{- end }}
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) -}}
{{- range $paginator.Pages -}}
{{ .Render "li" }}
@@ -18,7 +23,7 @@
{{ if $paginator.HasPrev }}<a href="{{ $paginator.Prev.URL }}" class="pagination-newer">&lt; Newer Posts</a>{{ end }}
{{ if $paginator.HasNext }}<a href="{{ $paginator.Next.URL }}" class="pagination-older">Older Posts &gt;</a>{{ end }}
</nav>
{{ end -}}
{{- end }}
{{ partial "scripts.html" . }}
</body>
</html>