From cb8b44dfc92e8a23f00422724e40e2777e35b097 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 18 Apr 2026 18:34:06 +0000 Subject: [PATCH] fix: restore missing snakes and render footer unconditionally The default layout had the footer and sneks.html include in a mutually- exclusive if/else gated on page.include_footer. When commit 503f54a set include_footer: true on index.html to fix the footer on the home page, the snakes silently disappeared from every page using the default layout. Every other layout (conference, post, summary, year) always renders the footer, so the include_footer flag has no legitimate reason to exist. Always render both the footer and the snakes, and drop the flag from home.html, search.html, and index.html. https://claude.ai/code/session_01C51cqWMT6tmAKnjJDWB4H9 --- _layouts/default.html | 7 ++----- _layouts/home.html | 1 - _layouts/search.html | 1 - index.html | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 8498a3a6da7..dc64f7ed8c3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -45,10 +45,7 @@ {% endfor %} {% endif %} - {% if page.include_footer %} - - {% else %} - {% include sneks.html %} - {% endif %} + + {% include sneks.html %} diff --git a/_layouts/home.html b/_layouts/home.html index 120f3084f44..e75238ddc14 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,6 +1,5 @@ --- layout: default -include_footer: true --- {% capture fp_title %} diff --git a/_layouts/search.html b/_layouts/search.html index 35b7d0f0f98..af5b27825a5 100644 --- a/_layouts/search.html +++ b/_layouts/search.html @@ -1,7 +1,6 @@ --- layout: default show_masthead: true -include_footer: true --- {% capture search_title %}{% t titles.search %}{% endcapture %} diff --git a/index.html b/index.html index 21f048f66d8..88e2c76c891 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,5 @@ --- layout: home -include_footer: true ---