feat/update-hugo #87

Merged
jtbx merged 4 commits from feat/update-hugo into main 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 }}