From 5806b8fc7b1a8a91b7b0ef5c6231b1315e6a3276 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Aug 2021 13:07:58 +0200 Subject: [PATCH] Add simple footer --- data/social.yml | 13 +++++++++++++ layouts/_default/baseof.html | 1 + layouts/partials/footer.html | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 layouts/partials/footer.html diff --git a/data/social.yml b/data/social.yml index 21c59c1..49c25c1 100644 --- a/data/social.yml +++ b/data/social.yml @@ -34,3 +34,16 @@ accounts: name: Codin' Nerds username: Codin' Nerds links: https://discord.gg/B8rf3xxgbJ + icon: fab fa-discord + + email: + name: email + username: itsdrike@protonmail.com + links: "mailto:itsdrike@protonmail.com" + icon: fas fa-at + + +footer_accounts: + - github + - stack-overflow + - email diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 502667f..107c21a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,6 +10,7 @@ {{ block "main" . }}{{ end }} + {{ partial "footer.html" . }} {{ partial "script_async.html" "js/bootstrap.min.js" }} {{ block "scripts_extra" . }}{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..46028bd --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,20 @@ +