From e3b178e2a8b0401c50c56e0fbdc93274c3b48ae5 Mon Sep 17 00:00:00 2001 From: Florian <26717601+florianbieser@users.noreply.github.com> Date: Wed, 18 Jan 2023 17:03:50 +0100 Subject: [PATCH] adding footer menu --- README.md | 4 ++++ assets/css/footer_menu.scss | 9 +++++++++ assets/css/style.scss | 1 + layouts/partials/footer.html | 3 +++ layouts/partials/footer_menu.html | 14 ++++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 assets/css/footer_menu.scss create mode 100644 layouts/partials/footer_menu.html diff --git a/README.md b/README.md index c88ba74..dd7591b 100644 --- a/README.md +++ b/README.md @@ -244,6 +244,10 @@ paginate = 5 identifier = "showcase" name = "Showcase" url = "/showcase" + [[languages.en.menu.footer]] + identifier = "imprint" + name = "Imprint" + url = "/imprint" [module] # In case you would like to make changes to the theme and keep it locally in you repository, diff --git a/assets/css/footer_menu.scss b/assets/css/footer_menu.scss new file mode 100644 index 0000000..4b9011d --- /dev/null +++ b/assets/css/footer_menu.scss @@ -0,0 +1,9 @@ +.footer-menu { + margin: 0 auto!important; + opacity: .5; +} +@media (max-width: 684px) { + .footer-menu ul { + flex-direction: row; + } +} \ No newline at end of file diff --git a/assets/css/style.scss b/assets/css/style.scss index f32f759..a401b00 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -11,6 +11,7 @@ @import "post"; @import "pagination"; @import "footer"; +@import "footer_menu"; @import "prism"; @import "syntax"; diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0eb1903..9644ba9 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,6 @@ + +{{ partial "footer_menu.html" . }} +