Compare commits

...

2 commits

Author SHA1 Message Date
f303dee335 Home: Fix non-existing links on card headings
All checks were successful
/ build (push) Successful in 13s
2024-01-23 18:57:40 +01:00
68267a933f Content: Fix name on home page 2024-01-23 18:44:36 +01:00
3 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
BSD 3-Clause License
Copyright (c) 2023, Chaos Computer Club Hansestadt Hamburg e.V.
Copyright (c) 2023, CCC Hansestadt Hamburg e.V.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

View file

@ -5,4 +5,4 @@ headless: true
type: card
---
Falls du den Chaos Computer Club Hansestadt Hamburg e.V. unterstützen willst, lohnt es sich eine [Fördermitgliedschaft](https://wiki.ccchh.net/verein:offizielles:foemi-formular) abzuschließen.
Falls du den CCC Hansestadt Hamburg e.V. unterstützen willst, lohnt es sich eine [Fördermitgliedschaft](https://wiki.ccchh.net/verein:offizielles:foemi-formular) abzuschließen.

View file

@ -39,7 +39,11 @@
{{- range $subsecs }}
{{- $link := .Params.link }}
<div class="wide">
{{- if eq $link nil }}
<h4>{{ .Title }}</h4>
{{- else }}
<h4><a href="{{ $link }}">{{ .Title }}</a></h4>
{{- end }}
{{- $img_path := printf "%s%s" $subsec_dir .Params.Image }}
{{- with $home.Resources.Get $img_path }}
<a href="{{ $link }}"><img class="groups-img" src="{{ .RelPermalink }}"></a>