add paginator for home page; update social footers; change meta check logic

This commit is contained in:
loikein 2023-04-25 14:43:15 +01:00
commit 2ce906cb31
3 changed files with 63 additions and 39 deletions
layouts/partials

View file

@ -1,10 +1,6 @@
<section>
<h1 class="content-title">
{{- if .IsNode -}}
{{- .Title -}}
{{- else -}}
{{- .Title -}}{{- if .Draft -}} :: Draft {{- end -}}
{{- end -}}
{{- .Title -}}{{- if .Draft -}} :: Draft {{- end -}}
</h1>
{{- if .IsPage -}}
@ -12,7 +8,7 @@
<p class=subtitle>{{ .Params.subtitle }}</p>
{{- end -}}
{{- if or (eq .Type "post") (.Params.meta) -}}
{{- if .Params.meta -}}
<span class="content-meta">
{{- if .Params.author -}}
<p class="author">{{ .Params.author }}</p>