From 0889be74c282a78898875c18e2861d329e1c8ba7 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 27 Oct 2024 23:23:53 +0100 Subject: [PATCH] fix deprecations --- exampleSite/config/_default/config.yaml | 3 ++- exampleSite/content/posts/asciidoc/admonition-icons.adoc | 2 ++ exampleSite/content/posts/asciidoc/admonitions.adoc | 4 ++++ exampleSite/content/posts/usage/configuration.md | 8 ++++++-- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml index 1221947..5e6ac04 100644 --- a/exampleSite/config/_default/config.yaml +++ b/exampleSite/config/_default/config.yaml @@ -8,7 +8,8 @@ enableGitInfo: true timeout: 180000 pluralizeListTitles: false -paginate: 5 +pagination: + pagerSize: 5 markup: goldmark: diff --git a/exampleSite/content/posts/asciidoc/admonition-icons.adoc b/exampleSite/content/posts/asciidoc/admonition-icons.adoc index 8f70000..6aa7dce 100644 --- a/exampleSite/content/posts/asciidoc/admonition-icons.adoc +++ b/exampleSite/content/posts/asciidoc/admonition-icons.adoc @@ -7,6 +7,8 @@ date = 2020-06-22T20:00:00+02:00 By default, the admonition is rendered with a plain text label. To enable font icons the document attribute `:icons: font` need to be set. + + == Example [NOTE] diff --git a/exampleSite/content/posts/asciidoc/admonitions.adoc b/exampleSite/content/posts/asciidoc/admonitions.adoc index 8377f0c..d188e52 100644 --- a/exampleSite/content/posts/asciidoc/admonitions.adoc +++ b/exampleSite/content/posts/asciidoc/admonitions.adoc @@ -6,6 +6,10 @@ date = 2020-06-22T20:00:00+02:00 :toc: :toclevels: 2 +AsciiDoc admonitions are special callout blocks that highlight important information in documentation using distinct visual styles and icons. + + + {{< toc >}} == Admonition types diff --git a/exampleSite/content/posts/usage/configuration.md b/exampleSite/content/posts/usage/configuration.md index 685f670..8f04528 100644 --- a/exampleSite/content/posts/usage/configuration.md +++ b/exampleSite/content/posts/usage/configuration.md @@ -26,7 +26,9 @@ baseURL = "http://localhost" title = "Geekblog" theme = "hugo-geekblog" -paginate = 5 +[pagination] +pagerSize = 5 + pluralizeListTitles = false # Required to get well formatted code blocks @@ -157,7 +159,9 @@ baseURL: "http://localhost" title: "Geekblog" theme: "hugo-geekblog" -paginate: 5 +pagination: + pagerSize: 5 + pluralizeListTitles: false # Required to get well formatted code blocks