From d35a19c2d21b7eda31e14f5aa59703d6bfaa5b7e Mon Sep 17 00:00:00 2001 From: Kar Epker Date: Sun, 30 Aug 2026 19:52:23 -0700 Subject: [PATCH 1/2] Add site footer with charity ID, address, and mission statement. Implements the footer design as a shared Eleventy include rendered on every page, including the home page. Motivated by the Google Workspace for Nonprofits application, which requires the site to explicitly display the Charity ID, a physical street address, and a clear mission statement. The EIN was verified against the IRS determination letter. - Add _includes/footer.ntk and styles/footer.css. The footer matches the site's existing Palatino vocabulary rather than the mockup's Times New Roman, and holds the same 840px min-width floor as .navcontainer, since the site is not mobile-responsive. - Render the footer from the shared layout, behind a noFooter flag. - Move the Font Awesome kit into the shared head so the social icons resolve site-wide, and drop the now-duplicate copy from index. - Unfix #videoBackground so the home page scrolls past the hero to the footer. The next-concert toast moves inside the video block and is anchored there; it previously relied on the video being out of flow, and would otherwise drop onto the footer. - Remove the Mailchimp connected-site popup. The footer's mailing-list button covers signups, and the popup obscured the whole page on load. - Add a currentYear global for the copyright line. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_013BZpKF2ZC9w73t48XvjKpm --- .eleventy.js | 3 + _includes/footer.ntk | 50 +++++++++++++++ _includes/main.ntk | 6 ++ index.ntk | 49 +++++++-------- styles/footer.css | 142 +++++++++++++++++++++++++++++++++++++++++++ styles/main.css | 16 ++++- 6 files changed, 236 insertions(+), 30 deletions(-) create mode 100644 _includes/footer.ntk create mode 100644 styles/footer.css diff --git a/.eleventy.js b/.eleventy.js index bccb9e2..6218859 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -9,6 +9,9 @@ export default function (eleventyConfig) { eleventyConfig.addExtension("ntk", { key: "njk" }); + // Footer copyright line; the site rebuilds nightly, so this stays current. + eleventyConfig.addGlobalData("currentYear", () => new Date().getFullYear()); + let njkEnvironment = new Nunjucks.Environment( new Nunjucks.FileSystemLoader("_includes") ); diff --git a/_includes/footer.ntk b/_includes/footer.ntk new file mode 100644 index 0000000..4ba47a4 --- /dev/null +++ b/_includes/footer.ntk @@ -0,0 +1,50 @@ +
+ + + +
diff --git a/_includes/main.ntk b/_includes/main.ntk index c4950cf..b85d153 100644 --- a/_includes/main.ntk +++ b/_includes/main.ntk @@ -18,6 +18,9 @@ + + + @@ -77,6 +80,9 @@ {% endif %} {% endblock %} + {% if not noFooter %} + {% include "footer.ntk" %} + {% endif %} \ No newline at end of file diff --git a/index.ntk b/index.ntk index 71a42d9..e3b96e3 100644 --- a/index.ntk +++ b/index.ntk @@ -4,16 +4,7 @@ layout: main.ntk noWrapper: true # Ensures video takes up remaining space with no padding --- -{% block headTags %} - - -{% endblock %} - {% block content %} - -