From 05fc152d1d4d64e0ee955a63a88d2c8050462418 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 3 Jan 2022 21:13:23 +0100 Subject: [PATCH] chenge social menu in footer Signed-off-by: Toshaan Bharvani --- config/_default/menus.toml | 24 +++++++ .../layouts/partials/footer.html | 67 +++++++++---------- 2 files changed, 55 insertions(+), 36 deletions(-) diff --git a/config/_default/menus.toml b/config/_default/menus.toml index 2fc9068..b7e185f 100644 --- a/config/_default/menus.toml +++ b/config/_default/menus.toml @@ -1,3 +1,5 @@ +### navbar + [[navbar]] name = "About" identifier = "about" @@ -67,3 +69,25 @@ identifier = "ready" url = "/ready/" weight = -700 + +### social +[[social]] + name = "Twitter" + pre = "fab fa-twitter" + url = "https://twitter.com/OpenPOWERorg" + weight = -2000 +[[social]] + name = "Facebook" + pre = "fab fa-facebook" + url = "https://www.facebook.com/openpower" + weight = -1900 +[[social]] + name = "LinkedIN" + pre = "fab fa-linkedin-in" + url = "https://www.linkedin.com/company/openpower-foundation/?viewAsMember=true" + weight = -1800 +[[social]] + name = "YouTube" + pre = "fab fa-youtube" + url = "https://www.youtube.com/channel/UCNVcHm09eXVbvUzZkQs0_Sg" + weight = -1700 diff --git a/themes/openpowerfoundation/layouts/partials/footer.html b/themes/openpowerfoundation/layouts/partials/footer.html index f71f6ba..41f7ad9 100644 --- a/themes/openpowerfoundation/layouts/partials/footer.html +++ b/themes/openpowerfoundation/layouts/partials/footer.html @@ -1,42 +1,43 @@ - @@ -47,9 +48,7 @@ - - {{ $mainjavascript := resources.Get "js/main.js" }} {{ $mainjs := $mainjavascript | resources.Minify }} @@ -65,11 +64,9 @@ {{ $changelogjavascript := resources.Get "js/changelog.js" }} {{ $changelogjs := $changelogjavascript | resources.Minify }} - {{ if .Site.Params.analytics.piwik }} {{ partial "_analytics/piwik.html" . }} {{ end }} - - -