diff --git a/webapp_calendar.py b/webapp_calendar.py
index 71325a931..69fb8be1d 100644
--- a/webapp_calendar.py
+++ b/webapp_calendar.py
@@ -575,6 +575,7 @@ def html_calendar(person_cache: {}, translate: {},
if curr_date.month == month_number:
if day_of_month == curr_date.day:
is_today = True
+
if events.get(str(day_of_month)):
url = cal_actor + '/calendar?year=' + \
str(year) + '?month=' + \
@@ -597,13 +598,11 @@ def html_calendar(person_cache: {}, translate: {},
if not is_today:
calendar_str += \
'
' + \
- day_link + ' | \n'
+ 'data-event="">' + day_link + '\n'
else:
calendar_str += \
' ' + \
- day_link + ' | \n'
+ 'data-today-event="">' + day_link + '\n'
else:
# No events today
if not is_today:
diff --git a/webapp_column_left.py b/webapp_column_left.py
index 3c5fee77f..bdf24ee8c 100644
--- a/webapp_column_left.py
+++ b/webapp_column_left.py
@@ -264,11 +264,7 @@ def get_left_column_content(base_dir: str, nickname: str, domain_full: str,
words = line_str.split(' ')
# get the link
for word in words:
- if word == '#':
- continue
- if word == '*':
- continue
- if word == '=>':
+ if word in ('#', '*', '=>'):
continue
if '://' in word:
link_str = word