From 6f46a68181918472f0215f36bcb7b3912d7541a6 Mon Sep 17 00:00:00 2001 From: Alexander Zhang <35056002+BessieTheCookie@users.noreply.github.com> Date: Thu, 24 Jun 2021 13:26:30 -0700 Subject: [PATCH] feat: support custom footers (#2335) Support custom footer in site folder at `layouts/partials/hooks/footer.html` For example, can be used to add columns of nav links to the footer. --- wowchemy/layouts/partials/hooks/footer.html | 2 ++ wowchemy/layouts/partials/site_footer.html | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 wowchemy/layouts/partials/hooks/footer.html diff --git a/wowchemy/layouts/partials/hooks/footer.html b/wowchemy/layouts/partials/hooks/footer.html new file mode 100644 index 00000000..9c47df60 --- /dev/null +++ b/wowchemy/layouts/partials/hooks/footer.html @@ -0,0 +1,2 @@ +{{/* Override this file to add a custom footer to every page. */}} +{{/* This partial is included in `layouts/partials/site_footer.html`. */}} diff --git a/wowchemy/layouts/partials/site_footer.html b/wowchemy/layouts/partials/site_footer.html index 79403eb6..b16c7196 100644 --- a/wowchemy/layouts/partials/site_footer.html +++ b/wowchemy/layouts/partials/site_footer.html @@ -1,5 +1,7 @@