diff --git a/README.md b/README.md index 11ea85e0..fb14cc58 100644 --- a/README.md +++ b/README.md @@ -282,6 +282,7 @@ authors: [ ] link: "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the title paige: + about_class: "h6 text-end" # Page about class description_class: "h5 text-start" # Page description class math: true # Enable math typesetting with KaTeX title_class: "display-1 fw-medium text-start" # Page title class diff --git a/layouts/partials/paige/other.html b/layouts/partials/paige/other.html index bd3e51b5..f45ccf22 100644 --- a/layouts/partials/paige/other.html +++ b/layouts/partials/paige/other.html @@ -1,6 +1,9 @@ {{ $authors := partial "paige/func-authors.html" . }} + {{ if or $authors .PublishDate}} -

+ {{ $class := .Params.paige.about_class | default "text-center text-secondary" }} + +

{{- with $authors }}{{ . }}{{ end -}} {{- if and $authors .PublishDate }}
{{ end -}} {{- with .PublishDate }}{{ end -}}