Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/shift2bikes-specifics.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ We struggled to get this working well, so there is probably dark magic here. Cr
1. `app/config.js`: reply email address, ical guid(s), etc.
2. `app/endpoints/ical.js` (and `test/ical_test.js`): more ical guid generation
3. `site/content/404.md`, `addevent.md`,` site/themes/s2b_hugo_theme/layouts/partials/cal/edit.html`, `pp-header.html`: support emails
4. `site/themes/s2b_hugo_theme/layouts/partials/cal/shift-feed.html`, `pp-feed.html`: ical subscription links
4. `site/themes/s2b_hugo_theme/layouts/partials/cal/shift-feed.html`: ical subscription link
5. probably some content pages ( ex. for documentation, links, or email: but nothing that would directly affect functionality )


2 changes: 1 addition & 1 deletion site/content/pages/calendar-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ On many devices, clicking the above link will open your calendar app automatical

### Android and Google Calendar:

1. Copy one of the calendar links above. (On Android, by pressing and holding the link until the "Copy link address" menu appears, and then selecting that option.)
1. Copy the calendar link above. (On Android, by pressing and holding the link until the "Copy link address" menu appears, and then selecting that option.)
2. Visit [Google Calendar](https://calendar.google.com/calendar/u/0/r/settings/addbyurl) and if asked log into your Google account.
3. On that Google Calendar page, paste the link you copied into the "URL of Calendar" box (press on that box and hold until the "Paste" menu appears, then choose that option).
4. Finally, click the "Add calendar" button.
Expand Down
2 changes: 1 addition & 1 deletion site/themes/s2b_hugo_theme/layouts/calfestival/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<!-- only display on current year -->
{{ if eq (.Param "year") 2025 }}
{{ partial "cal/pp-feed.html" . }}
{{ partial "cal/shift-feed.html" . }}
{{ end }}

<!-- events list; don't display for old PP pages with static content -->
Expand Down
6 changes: 0 additions & 6 deletions site/themes/s2b_hugo_theme/layouts/partials/cal/pp-feed.html

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{/* see also pp-feed.html */}}
<div id="pp-calendar-feed" class="pp-banner" style="text-align: center; padding-top: 1rem; margin-top: 1rem;">
<p>Want to see rides using your computer or phone's calendar app?</p>
<p><button type="button" id="feed-sub" class="btn" data-url="webcal://www.shift2bikes.org/cal/shift-calendar.php">Subscribe to the Shift calendar feed</button></p>
<p><button type="button" id="feed-sub" class="btn" data-url="webcal://www.shift2bikes.org/cal/shift-calendar.php">Subscribe to Shift calendar</button></p>
<p>If that doesn't open your calendar app, see <a href="/pages/calendar-faq/#subscribing-to-the-calendar">other ways to subscribe to the calendar</a>.</p>
</div>