Compare commits

..

4 commits

Author SHA1 Message Date
3ea764708a Theme,CI: Update hugo and fix for hugo v0.146
All checks were successful
/ build (push) Successful in 20s
hugo 0.146.0 refactored the template system and changed where some internal templates are located.
2025-07-26 09:44:59 +02:00
102b3cb4db Theme: Fix summary for v0.134.0
Hugo v0.134.0 changed the return value of the content summary to always be HTML instead of plain text.
So we don't need the work around any more.
2025-07-26 09:44:59 +02:00
f173698126 Theme: Fix author names for hugo v0.123.0/ v0.123.3
Hugo v0.123.0 started to capitalize the title of term pages. v0.123.3 introduced config parameters to disable that behaviour.
2025-07-26 09:44:59 +02:00
601b0054e2 CI: Move from gitlab to hugomods docker image
See https://gitlab.com/pages/hugo#deprecation-of-container-registry
2025-07-26 09:44:59 +02:00
4 changed files with 8 additions and 8 deletions

View file

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

View file

@ -4,11 +4,15 @@ 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']

View file

@ -1,11 +1,7 @@
<article class="blog">
{{- partial "blog-header.html" (dict "headingLink" true "level" 2 "page" . ) }}
<section>
{{- if in .RawContent "<!--more--> " }}
{{ .Summary | safeHTML }}
{{- else }}
<p>{{ .Summary | safeHTML }}</p>
{{- end }}
{{- if .Truncated }}
<div class="morelink"><a href="{{ .RelPermalink }}">mehr...</a></div>
{{- end }}

View file

@ -20,7 +20,7 @@
{{- if in $validFormats $format }}
{{- if gt $page.Paginator.TotalPages 1 }}
<ul class="pagination pagination-{{ $format }}">
{{- partial (printf "partials/inline/pagination/%s" $format) $page }}
{{- partial (printf "inline/pagination/%s.html" $format) $page }}
</ul>
{{- 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 }}