Skip to content

Commit fa70b24

Browse files
authored
Move community-call.ics to the root (#230)
Because maybe google can't cope with long URLs: https://stackoverflow.com/questions/23473919/google-calendar-add-by-url-requirements Signed-off-by: Tom Bentley <tbentley@redhat.com>
1 parent 9454ebb commit fa70b24

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

join-us/community-call/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,23 @@ title: Community call
4242
<ul class="dropdown-menu dropdown-menu-end shadow" aria-labelledby="calendarDropdown" style="min-width: 300px;">
4343
<li><h6 class="dropdown-header">Subscribe via App</h6></li>
4444
<li>
45-
<a class="dropdown-item d-flex align-items-center" href="{{ '/join-us/community-call/community-call.ics' | absolute_url | replace: 'http://', 'webcal://' | replace: 'https://', 'webcal://' }}">
45+
<a class="dropdown-item d-flex align-items-center" href="{{ '/community-call.ics' | absolute_url | replace: 'http://', 'webcal://' | replace: 'https://', 'webcal://' }}">
4646
<i class="bi bi-apple me-2 text-dark"></i> Apple Calendar</a>
4747
</li>
4848
<li>
49-
<a class="dropdown-item d-flex align-items-center" href="https://www.google.com/calendar/render?cid={{ '/join-us/community-call/community-call.ics' | absolute_url }}" target="_blank">
49+
<a class="dropdown-item d-flex align-items-center" href="https://www.google.com/calendar/render?cid={{ '/community-call.ics' | absolute_url }}" target="_blank">
5050
<i class="bi bi-google me-2 text-danger"></i> Google Calendar (Web)</a>
5151
</li>
5252
<li>
53-
<a class="dropdown-item d-flex align-items-center" href="{{ '/join-us/community-call/community-call.ics' | absolute_url | replace: 'http://', 'webcal://' | replace: 'https://', 'webcal://' }}">
53+
<a class="dropdown-item d-flex align-items-center" href="{{ '/community-call.ics' | absolute_url | replace: 'http://', 'webcal://' | replace: 'https://', 'webcal://' }}">
5454
<i class="bi bi-microsoft me-2 text-dark"></i> Outlook (not Web)</a>
5555
</li>
5656
<li><hr class="dropdown-divider"></li>
5757
<li><h6 class="dropdown-header">Manual Setup</h6></li>
5858
<li class="px-3 py-2">
5959
<label for="calLink" class="form-label small text-muted">Copy Subscription URL:</label>
6060
<div class="input-group input-group-sm">
61-
<input type="text" class="form-control" value="{{ '/join-us/community-call/community-call.ics' | absolute_url }}" id="calLink" readonly>
61+
<input type="text" class="form-control" value="{{ '/community-call.ics' | absolute_url }}" id="calLink" readonly>
6262
<button class="btn btn-outline-secondary" type="button" onclick="copyCalLink()" id="copyBtn">
6363
<i class="bi bi-clipboard"></i></button>
6464
</div>
@@ -105,7 +105,7 @@ document.addEventListener('DOMContentLoaded', function() {
105105
initialView: 'listMonth',
106106
// This tells the calendar where to find your "Source of Truth"
107107
events: {
108-
url: 'community-call.ics',
108+
url: '/community-call.ics',
109109
format: 'ics'
110110
},
111111
themeSystem: 'bootstrap5'

0 commit comments

Comments
 (0)