diff --git a/site/config.toml b/site/config.toml index 0b007e54..b5fd4475 100644 --- a/site/config.toml +++ b/site/config.toml @@ -12,6 +12,9 @@ defaultContentLanguage = "en" # Define the number of posts per page paginate = 10 +# Required to read lastmod date from file +# enableGitInfo = true + [menu] [[menu.main]] @@ -105,7 +108,6 @@ paginate = 10 editURL = "/admin/#/collections/" description = "Shift website reboot documents" disableAssetsBusting = true # netlify doesn't need that - enableGitInfo = true # Google Maps API key (if not set will default to not passing a key.) googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" diff --git a/site/content/pages/public-health.md b/site/content/pages/public-health.md index 6d234c72..f2e9b708 100644 --- a/site/content/pages/public-health.md +++ b/site/content/pages/public-health.md @@ -12,6 +12,7 @@ weight: "7" menu: main: parent: communitynav +type: policy --- ## Ride safely @@ -70,5 +71,3 @@ If a ride leader agrees to follow these specific guidelines, a special marker wi If you have questions or concerns about the safety policies for a ride, past or upcoming, reach out to the ride leaders or [contact us](/pages/contact/). Shift reserves the right to moderate calendar listings, and this may include removing the COVID Safety Plan designation from a ride if we are aware that it does not follow this policy. Please note: These guidelines have changed over time as conditions and public health guidelines have evolved. For past rides, refer to the [page history](https://github.com/shift-org/shift-docs/commits/main/site/content/pages/public-health.md) on GitHub to determine the version of policies in place at that time. - -*Last updated: May 2023* diff --git a/site/content/pages/shift-code-of-conduct.md b/site/content/pages/shift-code-of-conduct.md index 9b1df585..2fc460f3 100644 --- a/site/content/pages/shift-code-of-conduct.md +++ b/site/content/pages/shift-code-of-conduct.md @@ -4,6 +4,7 @@ weight: 2 menu: main: parent: aboutmenu +type: policy --- ## 1. Purpose diff --git a/site/themes/s2b_hugo_theme/layouts/policy/single.html b/site/themes/s2b_hugo_theme/layouts/policy/single.html new file mode 100644 index 00000000..e552a06b --- /dev/null +++ b/site/themes/s2b_hugo_theme/layouts/policy/single.html @@ -0,0 +1,66 @@ + + + + {{ partial "head.html" . }} + +
+ +