We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f5c734 commit 4a0637cCopy full SHA for 4a0637c
2 files changed
docs/en/index.md
@@ -122,8 +122,16 @@ BeeWare is supported by users like you! Every little bit helps: [click here to c
122
123
### Upcoming events
124
125
+{% if upcoming_events(files) == None %}
126
+
127
+Nothing at the moment...
128
129
+{% else %}
130
131
{{ upcoming_events(files) }}
132
133
+{% endif %}
134
135
### Documentation
136
137
<div class="index-docs" markdown="1">
docs/macros.py
@@ -289,7 +289,7 @@ def upcoming_events(files):
289
290
if events:
291
return "\n".join(item[1] for item in sorted(events)[:5])
292
- return "Nothing at the moment..."
+ return None
293
294
@env.macro
295
def latest_news(files):
0 commit comments