From 98400ef26e19a0cefbb5decece7b7ecd69151ae9 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 17 Jan 2022 01:10:22 +0100 Subject: [PATCH] add policy and seperate governance * add policy pages * move all governance docs to external links * have 2 footer menu entries Signed-off-by: Toshaan Bharvani --- config/_default/menus.toml | 27 ++++++++++++++++--- .../_index.md => policy/privacy.md} | 0 .../layouts/partials/footer.html | 22 ++++++++++++--- .../layouts/policy/single.html | 20 ++++++++++++++ .../layouts/privacypolicy/list.html | 21 --------------- 5 files changed, 62 insertions(+), 28 deletions(-) rename content/{privacypolicy/_index.md => policy/privacy.md} (100%) create mode 100644 themes/openpowerfoundation/layouts/policy/single.html delete mode 100644 themes/openpowerfoundation/layouts/privacypolicy/list.html diff --git a/config/_default/menus.toml b/config/_default/menus.toml index 1833487..df259a1 100644 --- a/config/_default/menus.toml +++ b/config/_default/menus.toml @@ -89,11 +89,25 @@ url = "/resources/" weight= -600 -### governance -[[governance]] - name = "Privacy Policy" - url = "/privacypolicy/" +### policy +[[policy]] + name = "Coockie Policy" + url = "/policy/cookie/" weight = -2000 +[[policy]] + name = "Privacy Policy" + url = "/policy/privacy/" + weight = -1900 +[[policy]] + name = "Logo Policy" + url = "/policy/logo/" + weight = -1800 +[[policy]] + name = "Trademark Policy" + url = "/policy/trademark/" + weight = -1700 + +### governance [[governance]] name = "Certificate of Incorperation" url = "https://files.openpower.foundation/s/xAkXWTxTxRqTeaM" @@ -112,6 +126,11 @@ pre = "far fa-file-pdf" #post = "fas fa-external-link-alt" weight = -1700 +[[governance]] + name = "Anti Trust Guidelines" + url = "https://files.openpower.foundation/s/k5Hny649q3XHSqk" + pre = "far fa-file-pdf" + weight = -1600 ### social [[social]] diff --git a/content/privacypolicy/_index.md b/content/policy/privacy.md similarity index 100% rename from content/privacypolicy/_index.md rename to content/policy/privacy.md diff --git a/themes/openpowerfoundation/layouts/partials/footer.html b/themes/openpowerfoundation/layouts/partials/footer.html index c084e69..87f2251 100644 --- a/themes/openpowerfoundation/layouts/partials/footer.html +++ b/themes/openpowerfoundation/layouts/partials/footer.html @@ -1,7 +1,7 @@