diff --git a/.forgejo/CODEOWNERS b/.forgejo/CODEOWNERS deleted file mode 100644 index 431cfd9..0000000 --- a/.forgejo/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @cccb/web diff --git a/.forgejo/dependabot.yml b/.forgejo/dependabot.yml deleted file mode 100644 index 174728a..0000000 --- a/.forgejo/dependabot.yml +++ /dev/null @@ -1,28 +0,0 @@ -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - target-branch: "staging" - schedule: - interval: "weekly" - commit-message: - prefix: "gh-action" - labels: - - "gh-action" - - "dependencies" - reviewers: - - "cccb/web" - - package-ecosystem: "pip" - directory: "/" - target-branch: "dev" - schedule: - interval: "weekly" - commit-message: - prefix: "python" - labels: - - "python" - - "dependencies" - reviewers: - - "cccb/web" diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml deleted file mode 100644 index 40bd95b..0000000 --- a/.forgejo/workflows/release.yml +++ /dev/null @@ -1,73 +0,0 @@ -name: Release website - -on: - schedule: - - cron: "0 4 * * *" - push: - branches: - - staging - - production - pull_request: - workflow_dispatch: - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - fetch-depth: 0 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 - with: - hugo-version: 'latest' - - - name: Build pages - run: hugo $(cat .hugo-params) - - - name: Add de_DE.UTF-8 locale - run: | - sudo apt-get update - sudo apt-get -y install locales - sudo locale-gen de_DE.UTF-8 - - - name: Setup Python - uses: actions/setup-python@v5 - with: - cache: 'pip' - - - name: Install dependencies - run: | - pip install --upgrade pip setuptools wheel - pip install -r requirements.txt - - - name: Generate calendars - run: python tools/merge_cals.py - - - name: Copy calendar to output dir - run: cp static/all.ics public/all.ics - - - name: Update homepage with latest event - run: upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html - - - name: Generate timestamp - run: echo "timestamp=$(date -u +'%Y-%m-%dT%H%M%SZ')" >> $GITHUB_ENV - - - name: Create Release Archive - uses: thedoctor0/zip-release@0.7.6 - with: - type: zip - filename: ../release-${{ github.ref_name }}-${{ env.timestamp }}.zip - directory: public - - - name: Create Release - uses: ncipollo/release-action@v1.16.0 - with: - tag: ${{ github.ref_name }}-${{ env.timestamp }} - name: Website ${{ github.ref_name }} version ${{ env.timestamp }} - body: Website ${{ github.ref_name }} version ${{ env.timestamp }} - artifacts: release-${{ github.ref_name }}-${{ env.timestamp }}.zip - token: ${{ secrets.GITEA_TOKEN }} \ No newline at end of file diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 431cfd9..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @cccb/web diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 174728a..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,28 +0,0 @@ -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - target-branch: "staging" - schedule: - interval: "weekly" - commit-message: - prefix: "gh-action" - labels: - - "gh-action" - - "dependencies" - reviewers: - - "cccb/web" - - package-ecosystem: "pip" - directory: "/" - target-branch: "dev" - schedule: - interval: "weekly" - commit-message: - prefix: "python" - labels: - - "python" - - "dependencies" - reviewers: - - "cccb/web" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 5741be5..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,129 +0,0 @@ -name: Release website - -on: - schedule: - - cron: "0 4 * * *" - push: - branches: - - staging - - production - pull_request: - workflow_dispatch: - -jobs: - pages: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - fetch-depth: 0 - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 - with: - hugo-version: 'latest' - - name: Build pages - run: hugo $(cat .hugo-params) - - uses: actions/upload-artifact@v4 - name: Upload pages - with: - name: pages - path: public - - calendar: - needs: [ pages ] - runs-on: ubuntu-latest - steps: - - name: Add de_DE.UTF-8 locale - run: | - sudo apt-get update - sudo apt-get -y install locales - sudo locale-gen de_DE.UTF-8 - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - fetch-depth: 0 - - name: Setup Python - uses: actions/setup-python@v5 - with: - cache: 'pip' # caching pip dependencies - - name: Install dependencies - run: | - pip install --upgrade pip setuptools wheel - pip install -r requirements.txt - - name: Download pages - uses: actions/download-artifact@v4 - with: - name: pages - path: public/ - - name: Generate calendars - run: python tools/merge_cals.py - - name: Copy calendar to output dir - run: cp static/all.ics public/all.ics - - name: Update homepage with latest event - run: upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html - - uses: actions/upload-artifact@v4 - name: Upload pages - with: - name: enhanced_pages - path: public - - staging: - needs: [ calendar ] - runs-on: ubuntu-latest - environment: staging - if: (github.ref == 'refs/heads/staging' && github.event_name == 'push') || github.event_name == 'schedule' - steps: - - name: Download pages - uses: actions/download-artifact@v4 - with: - name: enhanced_pages - path: public - - name: Generate timestamp - run: echo "timestamp=$(date -u +'%Y-%m-%dT%H%M%SZ')" >> $GITHUB_ENV - - name: Create Release Archive - uses: thedoctor0/zip-release@0.7.6 - with: - type: zip - filename: ../release-staging-${{ env.timestamp }}.zip - directory: public - - name: Create Release - uses: ncipollo/release-action@v1.16.0 - with: - tag: staging-${{ env.timestamp }} - name: Website staging version ${{ env.timestamp }} - body: Website staging version ${{ env.timestamp }} - artifacts: release-staging-${{ env.timestamp }}.zip - token: ${{ secrets.GITHUB_TOKEN }} - - production: - needs: [ calendar ] - runs-on: ubuntu-latest - environment: production - if: (github.ref == 'refs/heads/production' && github.event_name == 'push') || github.event_name == 'schedule' - steps: - - name: Download pages - uses: actions/download-artifact@v4 - with: - name: enhanced_pages - path: public - - name: Generate timestamp - run: echo "timestamp=$(date -u +'%Y-%m-%dT%H%M%SZ')" >> $GITHUB_ENV - - name: Create Release Archive - uses: thedoctor0/zip-release@0.7.6 - with: - type: zip - filename: ../release-production-${{ env.timestamp }}.zip - directory: public - - name: Create Release - uses: ncipollo/release-action@v1.16.0 - with: - makeLatest: true - tag: production-${{ env.timestamp }} - name: Website production version ${{ env.timestamp }} - body: Website production version ${{ env.timestamp }} - artifacts: release-production-${{ env.timestamp }}.zip - token: ${{ secrets.GITHUB_TOKEN }} - \ No newline at end of file diff --git a/.gitignore b/.gitignore index 349c2d2..54e16e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ static/all.ics +.envrc # Created by https://www.toptal.com/developers/gitignore/api/windows,linux,macos,hugo # Edit at https://www.toptal.com/developers/gitignore?templates=windows,linux,macos,hugo @@ -100,4 +101,4 @@ shell.nix .direnv # Python -.venv \ No newline at end of file +.venv diff --git a/README.md b/README.md index a544e7a..c299d95 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,19 @@ -![CCCB logo](static/img/logo.png) - # CCCB Website This is the website of the CCCB. +![CCCB logo](assets/img/logo.png) + ## Getting started 1. Get Hugo: -2. Clone this repo +2. Clone this repo (`--recursive` is needed to check out submodules) ```shell - git clone https://github.com/cccb/www + git clone --recursive https://git.berlin.ccc.de/cccb-website-team/www.git cccb-website ``` 3. Switch directory ```shell - cd www - ``` -3. Fetch Submodules - ```shell - git submodule update --recursive --remote --init + cd cccb-website ``` ### Run site locally @@ -35,13 +31,13 @@ Every change you make on the project will be reflected in your browser as long a ## Making a change -1. Use your local dev setup (see Getting started) or via GitHub editor. +1. Use your local dev setup (see Getting started) or via the Forgejo editor. 2. Make your change in `staging` branch. 3. Commit (and push) your change. -4. GitHub Actions is running the release workflow. +4. ~~GitHub Actions is running the release workflow.~~ - If successful, check [Staging Website](https://staging.berlin.ccc.de/) if change is correct. 5. Create merge request to merge changes from `staging` to `production` branch. Ask somebody to check merge request or if small change, merge yourself. -6. GitHub Actions is running the release workflow. +6. ~~GitHub Actions is running the release workflow.~~ - If successfull, check [Website](https://berlin.ccc.de/) if change is correct. 7. Profit! diff --git a/TODO.md b/TODO.md index 7401796..10121f4 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,8 @@ - DSGVO-compliant Datenschutzerklärung reinbasteln - Entscheiden, welche Seiten sonst noch konvertiert werden sollen und welche in die ewigen Datengründe gehen können -- add nix config to repo + + # Done @@ -17,4 +18,3 @@ - Bestehende Datengarten-Termine konvertieren - ggf. template mit frontmatter - Theme forken, alle assets sollten lokal gehosted sein und nicht von irgendwelchen CDNs bezogen werden (HTTP/2 ftw!) - diff --git a/build.sh b/build.sh index 11d85bf..3a07414 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,10 @@ #!/bin/sh +set -e +set -x + hugo $(cat .hugo-params) ./tools/merge_cals.py upcoming="$(tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" cp static/all.ics public/all.ics -sed -i "s#CALENDAR#$upcoming#g" public/index.html \ No newline at end of file +sed -i "s#CALENDAR#$upcoming#g" public/index.html diff --git a/config/_default/languages.de.toml b/config/_default/languages.de.toml index a6e4f46..e3fc5ce 100644 --- a/config/_default/languages.de.toml +++ b/config/_default/languages.de.toml @@ -25,53 +25,9 @@ title = "Chaos Computer Club Berlin" headline = "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin." # bio = "A little bit about you" links = [ - { email = "mailto:mail2025@berlin.ccc.de" }, -# { link = "https://link-to-some-website.com/" }, -# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, -# { apple = "https://www.apple.com" }, -# { blogger = "https://username.blogspot.com/" }, -# { bluesky = "https://bsky.app/profile/username" }, -# { codepen = "https://codepen.io/username" }, -# { dev = "https://dev.to/username" }, -# { discord = "https://discord.gg/invitecode" }, -# { dribbble = "https://dribbble.com/username" }, -# { facebook = "https://facebook.com/username" }, -# { flickr = "https://www.flickr.com/photos/username/" }, -# { foursquare = "https://foursquare.com/username" }, - { github = "https://github.com/cccb/" }, - { gitlab = "https://git.berlin.ccc.de/explore/repos" }, -# { google = "https://www.google.com/" }, -# { hashnode = "https://username.hashnode.dev" }, -# { instagram = "https://instagram.com/username" }, -# { itch-io = "https://username.itch.io" }, -# { keybase = "https://keybase.io/username" }, -# { kickstarter = "https://www.kickstarter.com/profile/username" }, -# { lastfm = "https://lastfm.com/user/username" }, -# { linkedin = "https://linkedin.com/in/username" }, { mastodon = "https://chaos.social/@clubdiscordia" }, - # { irc = "https://webirc.hackint.org/#ircs://irc.hackint.org/#cccb" }, -# { medium = "https://medium.com/username" }, -# { microsoft = "https://www.microsoft.com/" }, -# { orcid = "https://orcid.org/userid" }, -# { patreon = "https://www.patreon.com/username" }, -# { pinterest = "https://pinterest.com/username" }, -# { reddit = "https://reddit.com/user/username" }, -# { researchgate = "https://www.researchgate.net/profile/username" }, -# { slack = "https://workspace.url/team/userid" }, -# { snapchat = "https://snapchat.com/add/username" }, -# { soundcloud = "https://soundcloud.com/username" }, -# { spotify = "https://open.spotify.com/user/userid" }, -# { stack-overflow = "https://stackoverflow.com/users/userid/username" }, -# { steam = "https://steamcommunity.com/profiles/userid" }, -# { telegram = "https://t.me/username" }, -# { threads = "https://www.threads.net/@username" }, -# { tiktok = "https://tiktok.com/@username" }, -# { tumblr = "https://username.tumblr.com" }, -# { twitch = "https://twitch.tv/username" }, -# { twitter = "https://twitter.com/username" }, -# { x-twitter = "https://twitter.com/username" }, -# { whatsapp = "https://wa.me/phone-number" }, -# { youtube = "https://youtube.com/username" }, -# { ko-fi = "https://ko-fi.com/username" }, -# { codeberg = "https://codeberg.org/username"}, + { forgejo = "https://git.berlin.ccc.de/explore/repos" }, + { email = "mailto:mail2025@berlin.ccc.de" }, + { github = "https://github.com/cccb/" }, + ] diff --git a/config/_default/menus.de.toml b/config/_default/menus.de.toml index 53f1159..c8bd31f 100644 --- a/config/_default/menus.de.toml +++ b/config/_default/menus.de.toml @@ -46,7 +46,7 @@ weight = 10 [[footer]] - name = "Categories" + name = "Kategorien" pageRef = "categories" weight = 20 @@ -56,6 +56,6 @@ weight = 500 [[footer]] - name = "Privacy" + name = "Datenschutz" pageRef = "datenschutz" - weight = 600 \ No newline at end of file + weight = 600 diff --git a/config/_default/params.toml b/config/_default/params.toml index 38e9f23..9490cc7 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -26,8 +26,8 @@ backgroundImageWidth = 1200 defaultFeaturedImage = "/img/avatar-CCCB-Logo.png" # used as default for featured images in all articles # highlightCurrentMenuArea = true -# smartTOC = true -# smartTOCHideUnfocusedChildren = true +smartTOC = true +smartTOCHideUnfocusedChildren = true giteaDefaultServer = "https://git.fsfe.org" forgejoDefaultServer = "https://v8.next.forgejo.org" @@ -68,7 +68,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org" showBreadcrumbs = true showDraftLabel = true showEdit = true - editURL = "https://github.com/cccb/www/tree/staging/content/" + editURL = "https://git.berlin.ccc.de/cccb-website-team/www/src/branch/staging/content/" editAppendPath = true seriesOpened = false showHeadingAnchors = true diff --git a/content/_index.md b/content/_index.md index b4658f5..11b925a 100644 --- a/content/_index.md +++ b/content/_index.md @@ -6,4 +6,4 @@ description: "Startseite CCCB mit Kurzkalender" CALENDAR -Keinen Termin mehr verpeilen? Einfach den [Veranstaltungskalender abonnieren](all.ics)! +Weitere Termine findest du [hier](/verein/calendar/). \ No newline at end of file diff --git a/content/page/calendar.md b/content/page/calendar.md deleted file mode 100644 index 2bc48d9..0000000 --- a/content/page/calendar.md +++ /dev/null @@ -1,370 +0,0 @@ ---- -title: "Kalender" -subtitle: "Der Kalender des CCCB" -date: 2025-02-26T10:00:00+02:00 -menu: - main: - parent: "Verein" ---- -![Ein Schild im CCCB mit der Aufschrift "Closed at Night"](/img/club/42303247602_56716d8704.jpg) - - - - -
-
-
- - - -
- - - - - - - - - - - - - -
MoDiMiDoFrSaSo
-
-
-
-
-
-
- - diff --git a/content/post/tag_des_offenen_hackerspace.md b/content/post/tag_des_offenen_hackerspace.md index 3f165a9..b23ef1b 100644 --- a/content/post/tag_des_offenen_hackerspace.md +++ b/content/post/tag_des_offenen_hackerspace.md @@ -1,13 +1,31 @@ --- -title: "Tag Des Offenen Hackerspace" -subtitle: "Der CCCB lädt ein zum kennenlernen und entdecken." +title: "Tag Des Offenen Hackspace" +subtitle: "Der CCCB lädt ein zum Kennenlernen und Entdecken." date: 2025-02-10T12:00:00+02:00 dtstart: 20250329T130000 dtend: 20250329T200000 --- -Der [Tag des offenen Hackerspace](https://events.ccc.de/2024/02/23/tag-des-offenen-hackspace-einladung/) findet dieses Jahr auch im CCCB statt. -Es wird Führungen durch die Räume geben und Möglichkeiten zum kennenlernen und Spaß am Gerät. +{{< figure + src="/img/tdoh/20250309_001608.jpg" + title="Das Airport Display im CCCB" + alt="Das Airport Display im CCCB" + caption="Das Airport Display im CCCB" +>}} -- Programm folgt :-) +Der [Tag des offenen Hackspace](https://events.ccc.de/2025/02/28/tag-des-offenen-hackspace-2025/) findet dieses Jahr auch im Chaos Computer Club Berlin statt: +- Führungen durch die Räume + - mit Hack- und Lachgeschichten +- Kurzvorträge ab 17 Uhr u.a. zu den Themen: + - Der CCCB stellt sich vor! + - Freifunk + - OpenWrt +- Spaß am Gerät mit dem Service-Point +- Live-Schaltungen zu anderen Hackspaces +- die Community kennenlernen + +Am 29.03.2025 freuen wir uns, Euch von 13 Uhr bis 20 Uhr in unseren Clubräumen begrüßen zu dürfen! +Anfahrt: https://berlin.ccc.de/verein/anfahrt/ + +All Creatures Welcome! diff --git a/content/page/amateurfunk.md b/content/veranstaltungen/amateurfunk.md similarity index 82% rename from content/page/amateurfunk.md rename to content/veranstaltungen/amateurfunk.md index 9544143..c0de50e 100644 --- a/content/page/amateurfunk.md +++ b/content/veranstaltungen/amateurfunk.md @@ -3,7 +3,13 @@ title: "Amateurfunk" subtitle: "Funken und Löten im CCCB" date: 2018-05-17T22:41:48+02:00 --- -![Logo der Chaoswelle](/img/chaoswelle.png "Logo der Chaoswelle") + +{{< figure + src="/img/chaoswelle.png" + title="Logo der Chaoswelle" + alt="Logo der Chaoswelle" + caption="Logo der Chaoswelle" +>}} Vor einiger Zeit fanden gelegentlich Amateurfunkkurse im CCCB statt. Im Zusammenhang damit trafen sich Funkamateure und Interessierte rund um drahtlose Kommunikation auch an den offenen Abenden. Das Treffen war Nahe zur [Interessensgemeinschaft Chaoswelle](http://chaoswelle.de), die sich im DARC e.V. Ortsverband D23 diff --git a/content/page/bastelabend.md b/content/veranstaltungen/bastelabend.md similarity index 61% rename from content/page/bastelabend.md rename to content/veranstaltungen/bastelabend.md index 29e4f08..e288c08 100644 --- a/content/page/bastelabend.md +++ b/content/veranstaltungen/bastelabend.md @@ -10,7 +10,21 @@ menu: parent: "Veranstaltungen" --- -![Lötkolben im CCCB](/img/club/27481933907_f240f4232d.jpg) + +{{< figure + src="/img/club/27481933907_f240f4232d.jpg" + title="Lötkolben im CCCB" + alt="Lötkolben im CCCB" + caption="Lötkolben im CCCB" +>}} + **Jeden 1. und 3. Samstag im Monat ist ab 17 Uhr Bastelabend im Club.** -Wenn ihr neu seid und den CCCB zum ersten Mal besuchen wollt, kommt am besten an einem Donnerstag zum [Club Discordia](/page/clubdiscordia/), da samstags nicht immer genug Leute da sind, um euch zu empfangen. Generell sind aber alle herzlich eingeladen, an den Spieleabenden vorbeizukommen. \ No newline at end of file + + + +{{< alert "circle-info" >}} +Wenn ihr neu seid und den CCCB zum ersten Mal besuchen wollt, kommt am besten an einem Donnerstag zum [Club Discordia](/page/clubdiscordia/), da samstags nicht immer genug Leute da sind, um euch zu empfangen. + +Generell sind aber alle, die schonmal im Club waren, herzlich eingeladen, an den Bastelabenden vorbeizukommen. +{{< /alert >}} \ No newline at end of file diff --git a/content/page/chaosradio.md b/content/veranstaltungen/chaosradio.md similarity index 86% rename from content/page/chaosradio.md rename to content/veranstaltungen/chaosradio.md index 30a1c71..56a6535 100644 --- a/content/page/chaosradio.md +++ b/content/veranstaltungen/chaosradio.md @@ -11,7 +11,12 @@ menu: parent: "Veranstaltungen" --- -![Chaosradio logo](/img/chaosradio.png) +{{< figure + src="/img/chaosradio.png" + title="Chaosradio logo" + alt="Chaosradio logo" + caption="Chaosradio logo" +>}} [Chaosradio](https://chaosradio.ccc.de) ist der Podcast des CCCB. Seit 2020 zeichen wir ihn remote auf. Gelegentlich finden Sendungen vor Live-Publikum im Club, auf diff --git a/content/page/clubdiscordia.md b/content/veranstaltungen/clubdiscordia.md similarity index 93% rename from content/page/clubdiscordia.md rename to content/veranstaltungen/clubdiscordia.md index 6192413..55b81e4 100644 --- a/content/page/clubdiscordia.md +++ b/content/veranstaltungen/clubdiscordia.md @@ -12,7 +12,13 @@ menu: parent: "Veranstaltungen" --- -![Kochen in der CCCB Küche](/img/club/Kochen_in_der_CCCB_Küche.jpg) +{{< figure + src="/img/club/e-lab-kisten.jpg" + title="Das E-Lab im CCCB" + alt="Das E-Lab im CCCB" + caption="Das E-Lab im CCCB" +>}} + Der **Club Discordia** ist ein öffentliches Treffen in den Clubräumen des CCC Berlin. Jeder, der Lust hat, ist eingeladen, **Donnerstags so ab ca. 19 Uhr bis 24 Uhr** vorbeizukommen. Wer will, kann seinen Computer mitbringen und sollte das auch tun, sonst ist es langweilig wenn die Nerds erstmal nicht mit einem reden oder wenig los ist. diff --git a/content/page/cms.md b/content/veranstaltungen/cms.md similarity index 98% rename from content/page/cms.md rename to content/veranstaltungen/cms.md index f2256d1..56686b9 100644 --- a/content/page/cms.md +++ b/content/veranstaltungen/cms.md @@ -10,7 +10,12 @@ menu: parent: "Veranstaltungen" --- -![Chaos Macht Schule Logo](/img/cms-logo.jpg "Chaos Macht Schule Logo") +{{< figure + src="/img/cms-logo.jpg" + title="Chaos Macht Schule Logo" + alt="Chaos Macht Schule Logo" + caption="Chaos Macht Schule Logo" +>}} Unter dem Begriff “Chaos macht Schule” finden sich mehrere regionale Projekte diverser ERFA-Kreise des CCC. Bestärkt in der bisherigen diff --git a/content/page/datengarten.md b/content/veranstaltungen/datengarten.md similarity index 100% rename from content/page/datengarten.md rename to content/veranstaltungen/datengarten.md diff --git a/content/page/mitgliedschaft-infos.md b/content/veranstaltungen/mitgliedschaft-infos.md similarity index 100% rename from content/page/mitgliedschaft-infos.md rename to content/veranstaltungen/mitgliedschaft-infos.md diff --git a/content/page/openwrt.md b/content/veranstaltungen/openwrt.md similarity index 100% rename from content/page/openwrt.md rename to content/veranstaltungen/openwrt.md diff --git a/content/page/plenum.md b/content/veranstaltungen/plenum.md similarity index 91% rename from content/page/plenum.md rename to content/veranstaltungen/plenum.md index 41a1472..8a0d364 100644 --- a/content/page/plenum.md +++ b/content/veranstaltungen/plenum.md @@ -1,5 +1,5 @@ --- -title: "Plenum (club closed, members only)" +title: "Plenum (club closed - members only)" subtitle: "Instrument der internen Konsensfindung" date: 2018-05-18T01:11:54+02:00 dtstart: 20180704T200000 diff --git a/content/page/spieleabend.md b/content/veranstaltungen/spieleabend.md similarity index 77% rename from content/page/spieleabend.md rename to content/veranstaltungen/spieleabend.md index 09db203..2a9c6eb 100644 --- a/content/page/spieleabend.md +++ b/content/veranstaltungen/spieleabend.md @@ -13,4 +13,9 @@ menu: ![Dorfromantik spielen im CCCB](/img/club/dorfromantik-im-cccb.jpg) **Jeden 2. und 4. Samstag im Monat ist ab 17 Uhr Spieleabend im Club.** -Wenn ihr neu seid und den CCCB zum ersten Mal besuchen wollt, kommt am besten an einem Donnerstag zum [Club Discordia](/page/clubdiscordia/), da samstags nicht immer genug Leute da sind, um euch zu empfangen. Generell sind aber alle herzlich eingeladen, an den Bastelabenden vorbeizukommen. \ No newline at end of file + +{{< alert "circle-info" >}} +Wenn ihr neu seid und den CCCB zum ersten Mal besuchen wollt, kommt am besten an einem Donnerstag zum [Club Discordia](/page/clubdiscordia/), da samstags nicht immer genug Leute da sind, um euch zu empfangen. + +Generell sind aber alle, die schonmal im Club waren, herzlich eingeladen, an den Spieleabenden vorbeizukommen. +{{< /alert >}} \ No newline at end of file diff --git a/content/page/subbotnik.md b/content/veranstaltungen/subbotnik.md similarity index 84% rename from content/page/subbotnik.md rename to content/veranstaltungen/subbotnik.md index 648de2f..f527cd1 100644 --- a/content/page/subbotnik.md +++ b/content/veranstaltungen/subbotnik.md @@ -18,4 +18,11 @@ Ungefähr jedes viertel Jahr wird im CCCB von den Mitgliedern einmal richtig dur Der Begriff [Subbotnik](https://de.wikipedia.org/wiki/Subbotnik) ist eine in Sowjetrussland entstandene Bezeichnung für einen unbezahlten Arbeitseinsatz am Sonnabend, der in den Sprachgebrauch in der DDR und daraufhin auch in den Sprachgebrauch der CCCB-Mitglieder übernommen wurde. -Wenn ihr neu seid und den CCCB zum ersten Mal besuchen wollt, kommt am besten an einem Donnerstag zum [Club Discordia](/page/clubdiscordia/), da samstags nicht immer genug Leute da sind, um euch zu empfangen. Generell sind aber alle herzlich eingeladen, am Subbotnik vorbeizukommen und mitzuhelfen. \ No newline at end of file +--- + +{{< alert "circle-info" >}} +Wenn ihr neu seid und den CCCB zum ersten Mal besuchen wollt, kommt am besten an einem Donnerstag zum [Club Discordia](/page/clubdiscordia/), da samstags nicht immer genug Leute da sind, um euch zu empfangen. + +Generell sind aber alle, die schonmal im Club waren, herzlich eingeladen am Subbotnik vorbeizukommen und mitzuhelfen. +{{< /alert >}} + diff --git a/content/page/anfahrt.md b/content/verein/anfahrt.md similarity index 100% rename from content/page/anfahrt.md rename to content/verein/anfahrt.md diff --git a/content/verein/calendar.md b/content/verein/calendar.md new file mode 100644 index 0000000..c429f35 --- /dev/null +++ b/content/verein/calendar.md @@ -0,0 +1,603 @@ +--- +title: "Kalender" +subtitle: "Der Kalender des CCCB" +date: 2025-02-26T10:00:00+02:00 +menu: + main: + parent: "Verein" +--- +![Ein Schild im CCCB mit der Aufschrift "Closed at Night"](/img/club/42303247602_56716d8704.jpg) + + + + +
+
+
+ + + +
+ + + + + + + + + + + + + +
MoDiMiDoFrSaSo
+
+
+
+
+
+
+ + + +Keinen Termin mehr verpeilen? Einfach den [Veranstaltungskalender abonnieren](all.ics)! \ No newline at end of file diff --git a/content/page/fotos.md b/content/verein/fotos.md similarity index 100% rename from content/page/fotos.md rename to content/verein/fotos.md diff --git a/content/page/mastodon.md b/content/verein/mastodon.md similarity index 100% rename from content/page/mastodon.md rename to content/verein/mastodon.md diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..6cc6b35 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1741332913, + "narHash": "sha256-ri1e8ZliWS3Jnp9yqpKApHaOo7KBN33W8ECAKA4teAQ=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "20755fa05115c84be00b04690630cb38f0a203ad", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..73e94d9 --- /dev/null +++ b/flake.nix @@ -0,0 +1,41 @@ +{ + description = "A flake containing a development environment for the CCCB website."; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; + }; + + outputs = + { self, nixpkgs }: + let + forAllSystems = + f: + nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( + system: + f rec { + pkgs = nixpkgs.legacyPackages.${system}; + inherit system; + } + ); + in + { + devShells = forAllSystems ( + { pkgs, ... }: + { + default = pkgs.mkShell rec { + packages = with pkgs; [ + hugo + go + (pkgs.python3.withPackages (python-pkgs: [ + python-pkgs.icalendar + python-pkgs.pytz + ])) + shellcheck + ]; + }; + } + ); + + formatter = forAllSystems ({ pkgs, ... }: pkgs.nixfmt-rfc-style); + }; +} diff --git a/static/img/club/Kochen_in_der_CCCB_Küche.jpg b/static/img/club/Kochen_in_der_CCCB_Küche.jpg deleted file mode 100644 index 31bb484..0000000 Binary files a/static/img/club/Kochen_in_der_CCCB_Küche.jpg and /dev/null differ diff --git a/static/img/club/e-lab-kisten.jpg b/static/img/club/e-lab-kisten.jpg new file mode 100644 index 0000000..6705505 Binary files /dev/null and b/static/img/club/e-lab-kisten.jpg differ diff --git a/static/img/tdoh/20250309_001608.jpg b/static/img/tdoh/20250309_001608.jpg new file mode 100644 index 0000000..846b3a9 Binary files /dev/null and b/static/img/tdoh/20250309_001608.jpg differ