Merge branch 'mikijov-content'
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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">< Newer Posts</a>{{ end }}
|
||||
{{ if $paginator.HasNext }}<a href="{{ $paginator.Next.URL }}" class="pagination-older">Older Posts ></a>{{ end }}
|
||||
</nav>
|
||||
{{ end -}}
|
||||
{{- end }}
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user