commit 2408fd16a29265b5a3553b1b3f0e1ebfa21e78df
parent 0dd4f68a98655a6716e06906f063af250ef2f850
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Wed, 8 Jan 2025 16:27:36 +0100
fix "none" links
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/make_talks_html.py b/make_talks_html.py
@@ -28,7 +28,7 @@ def mkyearsep(lastyear, year):
return s
def mklink(text, obj, pref=''):
- if pref + 'url' in obj.keys():
+ if pref + 'url' in obj.keys() and obj['url'].lower() != "none":
return '<a href="%s">%s</a>' % (obj[pref + 'url'], text)
return text