summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheRockyDoo <therockydoo@gmail.com>2020-04-23 11:38:03 +0200
committerGitHub <noreply@github.com>2020-04-23 11:38:03 +0200
commit9ba7b18be6f16d7b1148b2f4e9aad15ef761d70f (patch)
treee38fe2449ecc61d3f8f67d32a6ae883fdc2d4fb8
parent472f93b4afef1b441e9d8f64e1ed5e3a231c88d4 (diff)
Anchor upcoming events
If you'll add #groupEvents to a div showing upcoming events you'll be able to share links scrolled straight to event list of your event group. It might come very handy for example when you embed it in <iframe> tag. Example url that scrolls automatically to an event list: https://gath.io/group/0HSOEdrcw#groupEvents
-rwxr-xr-xviews/eventgroup.handlebars2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/eventgroup.handlebars b/views/eventgroup.handlebars
index 9cbc504..03a5b27 100755
--- a/views/eventgroup.handlebars
+++ b/views/eventgroup.handlebars
@@ -85,7 +85,7 @@
{{{parsedDescription}}}
</div>
</div>
-<div class="card mt-4 mb-4">
+<div class="card mt-4 mb-4" id="upcomingEvents">
<h5 class="card-header">Upcoming events</h5>
<div class="list-group list-group-flush">
{{#if upcomingEventsExist}}