Compare commits

...

2 commits

Author SHA1 Message Date
851166b5d6 Theme,CI: Update hugo and fix for hugo v0.146
All checks were successful
/ build (pull_request) Successful in 1m9s
hugo 0.146.0 refactored the template system and changed where some internal templates are located.
2025-07-23 21:15:44 +02:00
5dd700f7a0 CI: Move from gitlab to hugomods docker image
See https://gitlab.com/pages/hugo#deprecation-of-container-registry
2025-07-23 21:15:13 +02:00
3 changed files with 6 additions and 4 deletions

View file

@ -13,7 +13,7 @@ jobs:
build: build:
runs-on: docker runs-on: docker
container: container:
image: registry.gitlab.com/pages/hugo/hugo_extended:latest image: hugomods/hugo:exts
steps: steps:
- name: Pipeline info - name: Pipeline info
run: | run: |

View file

@ -9,6 +9,8 @@ cleanDestinationDir = true
enableGitInfo = true enableGitInfo = true
# paginate = 10 # paginate = 10
[markup.goldmark.renderer]
unsafe = true
[outputs] [outputs]
home = ['html'] home = ['html']

View file

@ -20,7 +20,7 @@
{{- if in $validFormats $format }} {{- if in $validFormats $format }}
{{- if gt $page.Paginator.TotalPages 1 }} {{- if gt $page.Paginator.TotalPages 1 }}
<ul class="pagination pagination-{{ $format }}"> <ul class="pagination pagination-{{ $format }}">
{{- partial (printf "partials/inline/pagination/%s" $format) $page }} {{- partial (printf "inline/pagination/%s.html" $format) $page }}
</ul> </ul>
{{- end }} {{- end }}
{{- else }} {{- else }}
@ -29,7 +29,7 @@
{{/* Format: default {{/* Format: default
{{/* --------------------------------------------------------------------- */}} {{/* --------------------------------------------------------------------- */}}
{{- define "partials/inline/pagination/default" }} {{- define "_partials/inline/pagination/default.html" }}
{{- with .Paginator }} {{- with .Paginator }}
{{- $currentPageNumber := .PageNumber }} {{- $currentPageNumber := .PageNumber }}
@ -100,7 +100,7 @@
{{/* Format: terse {{/* Format: terse
{{/* --------------------------------------------------------------------- */}} {{/* --------------------------------------------------------------------- */}}
{{- define "partials/inline/pagination/terse" }} {{- define "_partials/inline/pagination/terse.html" }}
{{- with .Paginator }} {{- with .Paginator }}
{{- $currentPageNumber := .PageNumber }} {{- $currentPageNumber := .PageNumber }}