Skip to content

🏗️🔧:give the footer back the year it asks for - #1834

Merged
openinf-commit-queue[bot] merged 1 commit into
livefrom
fix/footer-year
Aug 20, 2026
Merged

🏗️🔧:give the footer back the year it asks for#1834
openinf-commit-queue[bot] merged 1 commit into
livefrom
fix/footer-year

Conversation

@DerekNonGeneric

Copy link
Copy Markdown
Member

Every page of the site has been printing its copyright notice without a year:

© The OpenINF Authors & Friends

footer.liquid reads {{ site.time | date: '%Y' }}. site is Jekyll's global,
and nothing here provides one, so it resolves to nothing and the filter is
handed an empty value. Liquid does not complain, which is why it went unnoticed
across every page for as long as it has.

The fix

buildTime is what Jekyll meant by site.time: the moment the site was
generated.

It is the instant rather than a preformatted year, so the template keeps the
date filter it already had, and anything else that wants a build date can
format it its own way rather than being handed someone else's choice.

A push to live regenerates the site, so the year keeps up without anyone
touching it.

Verified

Built and read back from three pages rather than assumed:

_site/index.html        © 2026 The OpenINF Authors & Friends
_site/about/index.html  © 2026 The OpenINF Authors & Friends
_site/news/index.html   © 2026 The OpenINF Authors & Friends

nps test passes, all 17 verifiers.

How it turned up

Reviewing the home page in #1833. It is site-wide and unrelated to that change,
so it is here on its own.

@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploy Preview for gh-pages-openinf ready!

Name Link
🔨 Latest commit bb8cdb8
🔍 Latest deploy log https://app.netlify.com/projects/gh-pages-openinf/deploys/6a8642760325c80008b29ad9
😎 Deploy Preview https://deploy-preview-1834--gh-pages-openinf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

DerekNonGeneric added a commit that referenced this pull request Aug 19, 2026
verify.validForEC fetches the editorconfig-checker binary from the
GitHub API the first time it runs, and node_modules is new on every run
here, so it fetches on every run. Unauthenticated that is 60 requests an
hour shared with everything else leaving the same address, and #1834
failed on it having changed nothing that could possibly be related.

The wrapper reads GITHUB_TOKEN and the runner is handed one, so the
request is now authenticated and the limit is 5000.

The binary is a Go program with no maintained JavaScript equivalent:
eclint was last published in 2018 and editorconfig-tools in 2015. The
npm package is the wrapper, and downloading is what it does.

Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Assisted-by: Claude-Code:claude-opus-5
openinf-commit-queue Bot pushed a commit that referenced this pull request Aug 19, 2026
verify.validForEC fetches the editorconfig-checker binary from the
GitHub API the first time it runs, and node_modules is new on every run
here, so it fetches on every run. Unauthenticated that is 60 requests an
hour shared with everything else leaving the same address, and #1834
failed on it having changed nothing that could possibly be related.

The wrapper reads GITHUB_TOKEN and the runner is handed one, so the
request is now authenticated and the limit is 5000.

The binary is a Go program with no maintained JavaScript equivalent:
eclint was last published in 2018 and editorconfig-tools in 2015. The
npm package is the wrapper, and downloading is what it does.

Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Assisted-by: Claude-Code:claude-opus-5
PR-URL: #1835
The copyright line reads `{{ site.time | date: '%Y' }}`, which is
Jekyll's. Nothing here provides a `site`, so it has been resolving to
nothing and every page has printed the notice without a year.

`buildTime` is what Jekyll meant by `site.time`: the moment the site was
generated. It is the instant rather than a formatted year, so the
template keeps the filter it already had and anything else wanting a
build date can format it its own way.

A push to live regenerates the site, so the year keeps up on its own.

Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Assisted-by: Claude-Code:claude-opus-5
@OpenINFbot OpenINFbot added the commit-queue Land this pull request when its checks pass label Aug 20, 2026
@openinf-commit-queue
openinf-commit-queue Bot merged commit a153256 into live Aug 20, 2026
15 checks passed
@openinf-commit-queue openinf-commit-queue Bot removed the commit-queue Land this pull request when its checks pass label Aug 20, 2026
@OpenINFbot
OpenINFbot deleted the fix/footer-year branch August 20, 2026 00:00
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