diff --git a/site/content/pages/bike-summer.md b/site/content/pages/bike-summer.md index c1de115a..1197689c 100644 --- a/site/content/pages/bike-summer.md +++ b/site/content/pages/bike-summer.md @@ -2,17 +2,14 @@ title: Bike Summer weight: 1 menu: - main: - parent: featuredevents - name: Bike Summer (Pedalpalooza) +  main: +    parent: featuredevents +    name: Bike Summer (Pedalpalooza) +endDate: "2025-08-31T23:59:59-07:00" --- ## About -[Bike Summer](https://www.bike-summer.org/) (aka Pedalpalooza) is an annual festival in metro Portland, Oregon. During the festival, there are hundreds of volunteer-organized free bike events. - - +[Bike Summer](https://www.bike-summer.org/) (aka Pedalpalooza) is an annual festival in metro Portland, Oregon.  During the festival, there are hundreds of volunteer-organized free bike events. See all of the rides on the [Bike Summer calendar](/bike-summer-calendar/), and check [Bike-Summer.org](https://www.bike-summer.org/) for more updates! @@ -34,4 +31,4 @@ Check out the [archives of previous years](/archive/pedal-palooza-archives/) for ## Support -Help make Bike Summer happen! [Donate to support Bike Summer.]({{% param "festival.donationsURL" %}}) +Help make Bike Summer happen! [Donate to support Bike Summer.]({{% param "festival.donationsURL" %}}) \ No newline at end of file diff --git a/site/themes/s2b_hugo_theme/layouts/_default/single.html b/site/themes/s2b_hugo_theme/layouts/_default/single.html index 8709db0a..912e4995 100644 --- a/site/themes/s2b_hugo_theme/layouts/_default/single.html +++ b/site/themes/s2b_hugo_theme/layouts/_default/single.html @@ -1,21 +1,34 @@ {{/* - This layout is used for all of the "static" content - ( about, faq, /playbooks, /pages, etc. ). - and whenever no specific 'type:' has been set by a .md file. + This layout is used for all of the "static" content  +  ( about, faq, /playbooks, /pages, etc. ). +  and whenever no specific 'type:' has been set by a .md file.  */}} {{ define "html_header" }} - {{ partial "head.html" . }} +  {{ partial "head.html" . }} {{ end }} {{ define "page_body" }} -
+           
-
- {{ .Content }} -
-
+              {{/* --- START: BANNER CODE --- */}} +              {{ if .Params.endDate }} +                {{ $endDate := time .Params.endDate }} +                {{ if now.After $endDate }} +                 
+                   

Thanks for a fantastic Bike Summer!

+                   

Events happen all year. Be sure to check the main calendar for more bike fun.

+                    View Main Calendar +                 
+                {{ end }} +              {{ end }} +              {{/* --- END: BANNER CODE --- */}} -
+             
+              {{ .Content }} +             
+           
-
-{{ end }} +           
+ +           
+{{ end }} \ No newline at end of file