diff --git a/.lighthouserc.yml b/.lighthouserc.yml index 0e7617a..e2f4328 100644 --- a/.lighthouserc.yml +++ b/.lighthouserc.yml @@ -8,7 +8,7 @@ ci: - http://localhost/404.html - http://localhost/posts/usage/getting-started/ settings: - chromeFlags: "--no-sandbox" + chromeFlags: "--no-sandbox --headless --disable-dev-shm-usage" onlyCategories: ["performance", "accessibility", "best-practices", "seo"] skipAudits: [ diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index e735343..fecafa4 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -44,7 +44,7 @@ steps: - event: [pull_request] - name: build - image: quay.io/thegeeklab/hugo:0.133.0 + image: quay.io/thegeeklab/hugo:0.136.5 commands: - hugo --panicOnWarning -s exampleSite/ diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index e5d2654..c1efa54 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -23,7 +23,7 @@ steps: FORCE_COLOR: "true" - name: testbuild - image: quay.io/thegeeklab/hugo:0.133.0 + image: quay.io/thegeeklab/hugo:0.136.5 commands: - mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/${CI_REPO_NAME} - hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ 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