Compare commits

..

5 commits

Author SHA1 Message Date
e334e896a8 Theme,CI: Update hugo and fix for hugo v0.146
All checks were successful
/ build (pull_request) Successful in 38s
/ cleanup-staging (pull_request) Successful in 3s
hugo 0.146.0 refactored the template system and changed where some internal templates are located.
2025-07-24 10:37:14 +02:00
33154e80d2 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-24 10:37:01 +02:00
8cae9bfc9a 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-24 10:06:53 +02:00
bafdbac47e CI: Move from gitlab to hugomods docker image
See https://gitlab.com/pages/hugo#deprecation-of-container-registry
2025-07-24 10:06:53 +02:00
364ec75a45 Update Node.js to v22
All checks were successful
/ build (pull_request) Successful in 43s
/ cleanup-staging (pull_request) Successful in 3s
/ build (push) Successful in 16s
2025-07-23 22:31:18 +02:00
4 changed files with 4 additions and 6 deletions

View file

@ -7,7 +7,7 @@ jobs:
cleanup-staging:
runs-on: docker
container:
image: code.forgejo.org/oci/node:20-bookworm
image: code.forgejo.org/oci/node:22-bookworm
steps:
- name: Pipeline info PR
run: |

View file

@ -13,7 +13,7 @@ jobs:
build:
runs-on: docker
container:
image: hugomods/hugo:exts
image: hugomods/hugo:exts-0.148.1
steps:
- name: Pipeline info
run: |

View file

@ -4,6 +4,8 @@ defaultContentLanguage = 'de'
timeZone = 'Europe/Berlin'
title = 'CCC Hansestadt Hamburg e.V.'
theme = 'ccchh'
capitalizeListTitles = false
pluralizeListTitles = false
cleanDestinationDir = true
enableGitInfo = true

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 }}