diff --git a/config.yaml b/config.yaml index 23f591d..0efd69a 100644 --- a/config.yaml +++ b/config.yaml @@ -3,9 +3,9 @@ languageCode: en-us title: AlmaLinux disableKinds: - taxonomy - - taxonomyTerm -paginate: 15 +pagination: + pagerSize: 15 taxonomies: author: authors diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 81fce28..19a162b 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -1,18 +1,18 @@ {{ define "main" }}
- +

{{ .Title}}

- +
- + {{ with .Params.author.image }} profile {{ end }} - +
{{ $.Param "author.name" }} @@ -21,7 +21,7 @@ {{ $.Param "author.bio" }}

-
+
- - - + + +
- - - - {{ if .PrevPage }} - + + + + {{ if .Prev }} + « {{ i18n "Previous" }} - - + + {{ end }} - - - - {{ if .NextPage }} - + + + + {{ if .Next }} + {{ i18n "Next" }} » {{ end }} - - - + + +
@@ -72,4 +72,4 @@ -{{end}} \ No newline at end of file +{{end}} diff --git a/layouts/partials/common/opengraph.html b/layouts/partials/common/opengraph.html index e08def4..d48a3ac 100644 --- a/layouts/partials/common/opengraph.html +++ b/layouts/partials/common/opengraph.html @@ -54,7 +54,7 @@ {{- $facebookAdmin = .facebook_admin }} {{- end }} {{- else }} - {{- with site.Social.facebook_admin }} + {{- with site.Params.Social.facebook_admin }} {{- $facebookAdmin = . }} {{- warnf "The social key in site configuration is deprecated. Use params.social.facebook_admin instead." }} {{- end }}