Home: Rework structure
8
content/home/1-visit/index.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "Visit Us"
|
||||
date: 2022-11-20T09:03:20-08:00
|
||||
draft: false
|
||||
headless: true
|
||||
---
|
||||
|
||||
TODO: "Komm vorbei" (Open Chaos, Liste der wiederkehrenden Events im Wiki)
|
||||
8
content/home/2-kalender/index.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "Termine"
|
||||
date: 2022-11-20T09:03:20-08:00
|
||||
draft: false
|
||||
headless: true
|
||||
---
|
||||
|
||||
TODO: Termine (next 5 events or full calendar?)
|
||||
8
content/home/3-gruppen/index.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "Gruppen"
|
||||
date: 2022-11-20T09:03:20-08:00
|
||||
draft: false
|
||||
headless: true
|
||||
---
|
||||
|
||||
TODO: Gruppen (CTF team, CMS, freifunk, etc.)
|
||||
17
content/home/4-kontakt/index.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: "Kontakt"
|
||||
date: 2022-11-20T09:03:20-08:00
|
||||
draft: false
|
||||
headless: true
|
||||
---
|
||||
|
||||
TODO: Karte, Kontaktdaten
|
||||
|
||||
- {{< fa envelope >}} Mailingsliste Hamburg: [talk](https://www.hamburg.ccc.de/mailman/listinfo/talk)
|
||||
- {{< fa envelope >}} E-Mail an den CCC Hamburg: <mail@hamburg.ccc.de>
|
||||
- {{< fa envelope >}} Verwaltung des CCC Hamburg: <buero@hamburg.ccc.de>
|
||||
- {{< fa brands mastodon >}} Fediverse: [@ccchh@chaos.social](https://chaos.social/@ccchh)
|
||||
- {{< fa comments >}} Internet Relay Chat: [hackint.eu](https://webirc.hackint.org/#irc://irc.hackint.org/#ccchh?nick=) [#ccchh](ircs://hackint.eu/ccchh)
|
||||
- {{< fa comments >}} Matrix IRC Bridge: [#ccchh:hackint.org](https://matrix.to/#/#ccchh:hackint.org)
|
||||
|
||||
TODO: How to have "Interwebs & E-Mails" only once for home-Onepager and here?
|
||||
BIN
content/home/9-freunde/cryptoparty-300x100.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
content/home/9-freunde/ffhhlogo_neu.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
content/home/9-freunde/fiff.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
content/home/9-freunde/frappant.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
content/home/9-freunde/fux_logo.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
content/home/9-freunde/gaengeviertel.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
content/home/9-freunde/hbgu.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
29
content/home/9-freunde/index.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: "Freunde & Familie"
|
||||
date: 2022-11-20T09:03:20-08:00
|
||||
draft: false
|
||||
headless: true
|
||||
resources:
|
||||
- src: cryptoparty-300x100.png
|
||||
params:
|
||||
url: https://cryptoparty-hamburg.de
|
||||
- src: ffhhlogo_neu.png
|
||||
params:
|
||||
url: https://hamburg.freifunk.net/
|
||||
- src: fux_logo.png
|
||||
params:
|
||||
url: https://www.fux-eg.org/
|
||||
- src: fiff.png
|
||||
params:
|
||||
url: https://www.fiff.de/
|
||||
- src: hbgu.png
|
||||
params:
|
||||
url: https://www.stop-watching-hamburg.de/
|
||||
- src: frappant.png
|
||||
params:
|
||||
url: https://frappant.org/
|
||||
- src: gaengeviertel.png
|
||||
params:
|
||||
url: https://das-gaengeviertel.info/
|
||||
|
||||
---
|
||||
|
|
@ -23,16 +23,17 @@
|
|||
</div>
|
||||
{{- end }}
|
||||
|
||||
{{- $home_sections := .Site.GetPage "/home" }}
|
||||
{{- range sort ($home_sections.Resources.Match "*.md") ".Name" }}
|
||||
{{- $home := .Site.GetPage "/home" }}
|
||||
{{- range sort ($home.Resources.ByType "page") "File.Path" "asc" }}
|
||||
<div class="section">
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content -}}
|
||||
|
||||
{{- $sec := .CurrentSection }}
|
||||
{{- with .Params.Resources }}
|
||||
<div class="flex-grid">
|
||||
{{- range . }}
|
||||
{{- $img := $home_sections.Resources.GetMatch (printf "%s" .src) }}
|
||||
{{- $img := $sec.Resources.GetMatch (printf "*/%s" .src) }}
|
||||
<div class="img-link"><a href="{{ .params.url }}"><img src="{{ $img.Permalink }}" class="box-image" alt=""></a></div>
|
||||
{{- end }}
|
||||
</div>
|
||||
|
|
|
|||