diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 65befb1..25ff1e8 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.148.1 + image: registry.gitlab.com/pages/hugo/hugo_extended:latest steps: - name: Pipeline info run: | diff --git a/hugo.toml b/hugo.toml index 3b2548b..48f4842 100644 --- a/hugo.toml +++ b/hugo.toml @@ -4,15 +4,11 @@ defaultContentLanguage = 'de' timeZone = 'Europe/Berlin' title = 'CCC Hansestadt Hamburg e.V.' theme = 'ccchh' -capitalizeListTitles = false -pluralizeListTitles = false cleanDestinationDir = true enableGitInfo = true # paginate = 10 -[markup.goldmark.renderer] - unsafe = true [outputs] home = ['html'] diff --git a/themes/ccchh/layouts/_default/summary.html b/themes/ccchh/layouts/_default/summary.html index 80afafd..e37c9a6 100644 --- a/themes/ccchh/layouts/_default/summary.html +++ b/themes/ccchh/layouts/_default/summary.html @@ -1,7 +1,11 @@
{{- partial "blog-header.html" (dict "headingLink" true "level" 2 "page" . ) }}
+ {{- if in .RawContent " " }} {{ .Summary | safeHTML }} + {{- else }} +

{{ .Summary | safeHTML }}

+ {{- end }} {{- if .Truncated }} {{- end }} diff --git a/themes/ccchh/layouts/partials/pagination.html b/themes/ccchh/layouts/partials/pagination.html index 0fecc16..87f3a34 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.html" }} +{{- define "partials/inline/pagination/default" }} {{- with .Paginator }} {{- $currentPageNumber := .PageNumber }} @@ -100,7 +100,7 @@ {{/* Format: terse {{/* --------------------------------------------------------------------- */}} -{{- define "_partials/inline/pagination/terse.html" }} +{{- define "partials/inline/pagination/terse" }} {{- with .Paginator }} {{- $currentPageNumber := .PageNumber }}