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
4 changed files with 6 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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