From 8272c2c8fb4b8eed73835030332b3f4425cb4d8b Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Sat, 27 Jul 2019 21:51:18 +0200 Subject: [PATCH] feat: add support for Terms in footer (#1236) To use, copy `themes/academic/exampleSite/content/terms.md` to `content/terms.md` in your site, add your legal terms, and remove the `draft` option to publish. --- exampleSite/content/terms.md | 13 +++++++++++++ layouts/partials/site_footer.html | 10 ++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 exampleSite/content/terms.md diff --git a/exampleSite/content/terms.md b/exampleSite/content/terms.md new file mode 100644 index 00000000..14c5978c --- /dev/null +++ b/exampleSite/content/terms.md @@ -0,0 +1,13 @@ +--- +title: Terms +date: "2018-06-28T00:00:00+01:00" +draft: true +share: false + +# Optional header image (relative to `static/img/` folder). +header: + caption: "" + image: "" +--- + +... diff --git a/layouts/partials/site_footer.html b/layouts/partials/site_footer.html index b4758a42..82f15f0f 100644 --- a/layouts/partials/site_footer.html +++ b/layouts/partials/site_footer.html @@ -1,7 +1,13 @@