From 44ee910e2b13c5bd8cb308de45d51ab15845d24f Mon Sep 17 00:00:00 2001 From: vimux Date: Tue, 27 Nov 2018 15:30:08 -0500 Subject: [PATCH] Add footer menu --- README.md | 2 +- layouts/partials/footer.html | 1 + layouts/partials/footer_menu.html | 7 +++++++ static/css/main.css | 5 +++-- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/footer_menu.html diff --git a/README.md b/README.md index 196a22c..cecfbac 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ categories: tags: - "Tag" - "Another tag" -menu: main # Add page to a main menu +menu: main # Add page to a menu. Options: main, footer --- ``` diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5e3e2cd..1338d60 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,5 @@ \ No newline at end of file diff --git a/layouts/partials/footer_menu.html b/layouts/partials/footer_menu.html new file mode 100644 index 0000000..7c7e42c --- /dev/null +++ b/layouts/partials/footer_menu.html @@ -0,0 +1,7 @@ +{{- with .Site.Menus.footer }} + +{{- end }} \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index a2d1bda..75dbc1d 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -911,6 +911,7 @@ mark { margin: .3125rem 0 0; font-size: .8125rem; color: #888; + text-align: center; border-top: 2px solid #333; } @@ -940,8 +941,8 @@ mark { height: 32px; } -.footer__copyright { - text-align: center; +.footer__links { + margin-bottom: .5rem; } @media screen and (min-width: 480px) {