From 7a655fb7a59ce654a7b95691c2fe5e6b6db2de5c Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Fri, 24 Nov 2023 10:39:14 -0700 Subject: [PATCH] feat: Add collection for legal links Adds placeholders for the following common legal documents: - Terms and Conditions - Privacy Policy - Cookie Policy The sidebar will show links to each of these legal documents below the list of contact icons. --- _config.yml | 3 +++ _includes/sidebar.html | 11 ++++++++++- _legal/cookie-policy.md | 10 ++++++++++ _legal/privacy-policy.md | 9 +++++++++ _legal/terms-and-conditions.md | 9 +++++++++ _sass/addon/commons.scss | 9 ++++++++- 6 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 _legal/cookie-policy.md create mode 100644 _legal/privacy-policy.md create mode 100644 _legal/terms-and-conditions.md diff --git a/_config.yml b/_config.yml index b35fe7e..db8bd77 100644 --- a/_config.yml +++ b/_config.yml @@ -138,6 +138,9 @@ collections: tabs: output: true sort_by: order + legal: + output: true + sort_by: order defaults: - scope: diff --git a/_includes/sidebar.html b/_includes/sidebar.html index b8f92e3..690c398 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -42,7 +42,7 @@ -