From 974bc9f6ffa10d22c5d6f692fe79d71606bbb2d3 Mon Sep 17 00:00:00 2001 From: Arun Date: Sat, 14 Sep 2024 00:40:35 +0530 Subject: feat: Content License and Copyright holder as Footer --- layouts/_default/baseof.html | 9 ++++++++- layouts/partials/footer-license.html | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/footer-license.html (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 373e635..fdee79d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,7 +25,14 @@ diff --git a/layouts/partials/footer-license.html b/layouts/partials/footer-license.html new file mode 100644 index 0000000..6b05b04 --- /dev/null +++ b/layouts/partials/footer-license.html @@ -0,0 +1,6 @@ +

+ All content licensed under + {{ .Param "licenseType" }} + license unless otherwise stated. + Copyright © {{ .Param "copyrightYear" }} {{ .Param "copyrightHolder" }}. +

-- cgit v1.2.3 From e565f6afa20f81f75ff4fab1f29e1c672a33b3eb Mon Sep 17 00:00:00 2001 From: Arun Date: Sun, 15 Sep 2024 00:00:26 +0530 Subject: feat: show generic footer --- layouts/_default/baseof.html | 11 ++--------- layouts/partials/footer-license.html | 6 ------ layouts/partials/footer.html | 18 +++++++++++++----- 3 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 layouts/partials/footer-license.html (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fdee79d..08a2d25 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,16 +25,9 @@
- {{ if .Param "showFooterLicense" }} -
- {{ partial "footer-license.html" . }} -
- {{ end }} -
- {{ partial "footer.html" . }} -
+ {{ partial "footer.html" . }}
- +