From e1276cfd677bb4b55a6e1f805fad0ea43640a237 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 22 Jan 2023 16:25:23 -0800 Subject: [PATCH] Rename titleclass to title_class --- README.md | 2 +- layouts/partials/paige/title.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff98d68b..2ddb98d7 100644 --- a/README.md +++ b/README.md @@ -284,7 +284,7 @@ link: "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the ti paige: description_class: h5 text-start # Page description class math: true # Enable math typesetting with KaTeX - titleclass: display-1 fw-medium text-start # Page title class + title_class: display-1 fw-medium text-start # Page title class toc: true # Show a table of contents if there are any headers ``` diff --git a/layouts/partials/paige/title.html b/layouts/partials/paige/title.html index 5023f48b..cc1993d9 100644 --- a/layouts/partials/paige/title.html +++ b/layouts/partials/paige/title.html @@ -1,5 +1,5 @@ {{ if .Title }} - {{ $class := .Params.paige.titleclass | default "display-5 fw-bold text-center" }} + {{ $class := .Params.paige.title_class | default "display-5 fw-bold text-center" }} {{ $title := .Title | markdownify }}

{{ if .Params.link }}{{ $title }}{{ else }}{{ $title }}{{ end }}{{ if .Scratch.Get "paige_show_full_pages" }}#{{ end }}