diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index b61fb68..65befb1 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -13,7 +13,7 @@ jobs: build: runs-on: docker container: - image: hugomods/hugo:exts-0.140.2 + image: hugomods/hugo:exts-0.148.1 steps: - name: Pipeline info run: | diff --git a/hugo.toml b/hugo.toml index 534cd0e..3b2548b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -11,6 +11,8 @@ cleanDestinationDir = true enableGitInfo = true # paginate = 10 +[markup.goldmark.renderer] + unsafe = true [outputs] home = ['html'] diff --git a/themes/ccchh/layouts/partials/pagination.html b/themes/ccchh/layouts/partials/pagination.html index 87f3a34..0fecc16 100644 --- a/themes/ccchh/layouts/partials/pagination.html +++ b/themes/ccchh/layouts/partials/pagination.html @@ -20,7 +20,7 @@ {{- if in $validFormats $format }} {{- if gt $page.Paginator.TotalPages 1 }} {{- end }} {{- else }} @@ -29,7 +29,7 @@ {{/* Format: default {{/* --------------------------------------------------------------------- */}} -{{- define "partials/inline/pagination/default" }} +{{- define "_partials/inline/pagination/default.html" }} {{- with .Paginator }} {{- $currentPageNumber := .PageNumber }} @@ -100,7 +100,7 @@ {{/* Format: terse {{/* --------------------------------------------------------------------- */}} -{{- define "partials/inline/pagination/terse" }} +{{- define "_partials/inline/pagination/terse.html" }} {{- with .Paginator }} {{- $currentPageNumber := .PageNumber }}