2 Commits

Author SHA1 Message Date
coja
d001d6b287 [Prep] location in new tab 2026-05-02 03:43:43 +02:00
coja
910f375c94 [Requirements] missing pkgs 2026-05-02 03:36:28 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ def build_html(events: list[dict], dayNames: list[str], typesNames: dict) -> str
event_html.append(f"<div class='title'>{title}</div>")
if "https://" in location:
place,link = location.split("https://")
event_html.append(f"<div class='place'><a href=\"https://{link}\">@{place.strip()}</a></div>")
event_html.append(f"<div class='place'><a href=\"https://{link}\" target='_blank'>@{place.strip()}</a></div>")
else:
event_html.append(f"<div class='place'>@{location.strip()}</div>")

View File

@@ -2,3 +2,5 @@ cairosvg
markdown
freetype-py
python-dateutil
feedgen
pillow