Compare commits
2 Commits
69b0e5b63a
...
d001d6b287
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d001d6b287 | ||
|
|
910f375c94 |
2
prep.py
2
prep.py
@@ -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>")
|
event_html.append(f"<div class='title'>{title}</div>")
|
||||||
if "https://" in location:
|
if "https://" in location:
|
||||||
place,link = location.split("https://")
|
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:
|
else:
|
||||||
event_html.append(f"<div class='place'>@{location.strip()}</div>")
|
event_html.append(f"<div class='place'>@{location.strip()}</div>")
|
||||||
|
|
||||||
|
|||||||
@@ -2,3 +2,5 @@ cairosvg
|
|||||||
markdown
|
markdown
|
||||||
freetype-py
|
freetype-py
|
||||||
python-dateutil
|
python-dateutil
|
||||||
|
feedgen
|
||||||
|
pillow
|
||||||
|
|||||||
Reference in New Issue
Block a user