Skip to content

Always display footer and sneks on all pages#339

Merged
JesperDramsch merged 1 commit intomainfrom
claude/fix-missing-snakes-0XSIJ
Apr 18, 2026
Merged

Always display footer and sneks on all pages#339
JesperDramsch merged 1 commit intomainfrom
claude/fix-missing-snakes-0XSIJ

Conversation

@JesperDramsch
Copy link
Copy Markdown
Owner

Summary

Removed conditional footer rendering logic to ensure the footer and sneks are displayed on all pages consistently.

Changes

  • Removed the include_footer conditional check from _layouts/default.html that previously controlled whether to show the footer or sneks
  • Now both footer.html and sneks.html are always included on every page
  • Removed the include_footer: true front matter from:
    • _layouts/home.html
    • _layouts/search.html
    • index.html

Implementation Details

Previously, pages could control footer visibility through the include_footer front matter variable. This change simplifies the layout by removing that conditional logic and ensuring consistent footer/sneks display across the entire site. The footer and sneks components are now unconditionally rendered in the default layout.

https://claude.ai/code/session_01C51cqWMT6tmAKnjJDWB4H9

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
@JesperDramsch JesperDramsch merged commit 6e0b65c into main Apr 18, 2026
11 checks passed
@JesperDramsch JesperDramsch deleted the claude/fix-missing-snakes-0XSIJ branch April 18, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants