From f8ec4ce9e915093cb6b23e3d06a5a65b3b16ad91 Mon Sep 17 00:00:00 2001 From: Agil Mammadov Date: Fri, 3 Apr 2026 10:50:41 +0400 Subject: [PATCH] feat(footer): add toggle option via theme_config.footer --- _config.yml | 1 + _layouts/default.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 50dc900..6309a82 100644 --- a/_config.yml +++ b/_config.yml @@ -16,6 +16,7 @@ theme_config: back: ".." date_format: "%Y%m%d" monochrome_images: true + footer: true # set to false to hide the footer plugins: - jekyll-feed diff --git a/_layouts/default.html b/_layouts/default.html index 7431624..101c85e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,9 @@ - {%- include footer.html -%} + {%- unless site.theme_config.footer == false -%} + {%- include footer.html -%} + {%- endunless -%} {% if page.custom_js %} {% for js_file in page.custom_js %}