removed test code and removed filmabend

This commit is contained in:
Marek Krug 2025-02-11 23:12:21 +01:00
parent c5a5ae90d0
commit dec4fce900
5 changed files with 8 additions and 12 deletions

View file

@ -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:

5
.gitignore vendored
View file

@ -97,4 +97,7 @@ $RECYCLE.BIN/
# NixOS:
.envrc
shell.nix
.direnv
.direnv
# Python
.venv

View file

@ -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
sed -i "s#CALENDAR#$upcoming#g" public/index.html

View file

@ -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.**