From 069ee6962cce838a49c68583bb65e43eddd06ace Mon Sep 17 00:00:00 2001 From: carrythebanner Date: Thu, 17 Jul 2025 16:50:51 -0700 Subject: [PATCH 1/2] remove now-unused PP feed and associated content; shorter name of subscribe button --- docs/shift2bikes-specifics.md | 2 +- site/content/pages/calendar-faq.md | 2 +- .../themes/s2b_hugo_theme/layouts/partials/cal/pp-feed.html | 6 ------ .../s2b_hugo_theme/layouts/partials/cal/shift-feed.html | 3 +-- 4 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 site/themes/s2b_hugo_theme/layouts/partials/cal/pp-feed.html diff --git a/docs/shift2bikes-specifics.md b/docs/shift2bikes-specifics.md index 9929cf54..5863936c 100644 --- a/docs/shift2bikes-specifics.md +++ b/docs/shift2bikes-specifics.md @@ -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 ) diff --git a/site/content/pages/calendar-faq.md b/site/content/pages/calendar-faq.md index 0be79a34..722a28ab 100644 --- a/site/content/pages/calendar-faq.md +++ b/site/content/pages/calendar-faq.md @@ -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. diff --git a/site/themes/s2b_hugo_theme/layouts/partials/cal/pp-feed.html b/site/themes/s2b_hugo_theme/layouts/partials/cal/pp-feed.html deleted file mode 100644 index 18c0a172..00000000 --- a/site/themes/s2b_hugo_theme/layouts/partials/cal/pp-feed.html +++ /dev/null @@ -1,6 +0,0 @@ -{{/* see also shift-feed.html */}} -
-

Want to see rides using your computer or phone's calendar app?

-

-

If that doesn't open your calendar app, see other ways to subscribe to the calendar.

-
diff --git a/site/themes/s2b_hugo_theme/layouts/partials/cal/shift-feed.html b/site/themes/s2b_hugo_theme/layouts/partials/cal/shift-feed.html index 8c2b087f..f7861635 100644 --- a/site/themes/s2b_hugo_theme/layouts/partials/cal/shift-feed.html +++ b/site/themes/s2b_hugo_theme/layouts/partials/cal/shift-feed.html @@ -1,6 +1,5 @@ -{{/* see also pp-feed.html */}}

Want to see rides using your computer or phone's calendar app?

-

+

If that doesn't open your calendar app, see other ways to subscribe to the calendar.

From b05e35cae8c3aeff8a886930da679ad2d2299011 Mon Sep 17 00:00:00 2001 From: carrythebanner Date: Thu, 17 Jul 2025 17:00:39 -0700 Subject: [PATCH 2/2] update reference to now-removed partial --- site/themes/s2b_hugo_theme/layouts/calfestival/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/themes/s2b_hugo_theme/layouts/calfestival/single.html b/site/themes/s2b_hugo_theme/layouts/calfestival/single.html index 6a54c940..d5e8a012 100644 --- a/site/themes/s2b_hugo_theme/layouts/calfestival/single.html +++ b/site/themes/s2b_hugo_theme/layouts/calfestival/single.html @@ -35,7 +35,7 @@ {{ if eq (.Param "year") 2025 }} - {{ partial "cal/pp-feed.html" . }} + {{ partial "cal/shift-feed.html" . }} {{ end }}