diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd74c65..dc1d46a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,10 +63,7 @@ jobs: - 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 - echo $upcoming - cat public/index.html + 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: diff --git a/.gitignore b/.gitignore index 584da93..349c2d2 100644 --- a/.gitignore +++ b/.gitignore @@ -97,4 +97,7 @@ $RECYCLE.BIN/ # NixOS: .envrc shell.nix -.direnv \ No newline at end of file +.direnv + +# Python +.venv \ No newline at end of file diff --git a/build.sh b/build.sh index 56d4f8d..11d85bf 100755 --- a/build.sh +++ b/build.sh @@ -3,9 +3,5 @@ hugo $(cat .hugo-params) ./tools/merge_cals.py upcoming="$(tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" -echo $upcoming -cat public/index.html cp static/all.ics public/all.ics -sed -i "s#CALENDAR#$upcoming#g" public/index.html -cat public/index.html -echo $upcoming \ No newline at end of file +sed -i "s#CALENDAR#$upcoming#g" public/index.html \ No newline at end of file diff --git a/content/page/bastel-_und_filmeabend.md b/content/page/bastelabend.md similarity index 50% rename from content/page/bastel-_und_filmeabend.md rename to content/page/bastelabend.md index f38b88b..8c1ff4e 100644 --- a/content/page/bastel-_und_filmeabend.md +++ b/content/page/bastelabend.md @@ -1,10 +1,10 @@ --- title: "Bastelabend" -subtitle: "Der Bastel- und Filmeabend jeden 1. und 3. Samstag im Monat" +subtitle: "Der Bastelabend jeden 1. und 3. Samstag im Monat" date: 2025-01-08T20:00:00+02:00 dtstart: 20250118T170000 dtend: 20250118T230000 rrule: "FREQ=MONTHLY;BYDAY=1SA,3SA;WKST=MO" --- -**Jeden 1. und 3. Samstag im Monat ist ab 17 Uhr Bastel- und Filmeabend im Club.** +**Jeden 1. und 3. Samstag im Monat ist ab 17 Uhr Bastelabend im Club.** diff --git a/content/tag_des_offenen_hackerspace.md b/content/post/tag_des_offenen_hackerspace.md similarity index 100% rename from content/tag_des_offenen_hackerspace.md rename to content/post/tag_des_offenen_hackerspace.md