From 89b5a625b1870f96fd7c8e0ecc302e627a34340e Mon Sep 17 00:00:00 2001 From: Rohail Taimour Date: Thu, 26 Oct 2023 21:29:41 +0200 Subject: [PATCH] Adapt the site --- config/_default/params.yaml | 5 +++-- layouts/partials/mailchimp-form.html | 6 +++--- layouts/partials/page_footer.html | 1 + layouts/partials/site_footer.html | 16 ++++++++++++++++ 4 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 layouts/partials/site_footer.html diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 9412f9a..3120edb 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -44,10 +44,11 @@ header: # Site footer footer: + # text: "hello" copyright: - notice: '© {year} Me. This work is licensed under {license}' + # notice: '© {year} Me. This work is licensed under {license}' license: - enable: true + enable: false allow_derivatives: false share_alike: true allow_commercial: false diff --git a/layouts/partials/mailchimp-form.html b/layouts/partials/mailchimp-form.html index 7ac1d79..6c7a898 100644 --- a/layouts/partials/mailchimp-form.html +++ b/layouts/partials/mailchimp-form.html @@ -1,13 +1,13 @@ -
+

Subscribe to my monthly newsletter

+ placeholder="Enter email" style="margin: auto; width: 75%;" />
- By entering your email address, you agree to receive the newsletter of this website. + Clicking submit takes you to Mailchimp.
diff --git a/layouts/partials/page_footer.html b/layouts/partials/page_footer.html index 88c9c54..636b2ee 100644 --- a/layouts/partials/page_footer.html +++ b/layouts/partials/page_footer.html @@ -1,5 +1,6 @@ {{ partial "page_edit" . }} {{ partial "tags" . }} +

Share this Article:

{{ partial "components/page_sharer" . }} {{ partial "page_author" . }} {{ partial "comments" . }} diff --git a/layouts/partials/site_footer.html b/layouts/partials/site_footer.html new file mode 100644 index 0000000..9af7e97 --- /dev/null +++ b/layouts/partials/site_footer.html @@ -0,0 +1,16 @@ + \ No newline at end of file