Skip to content

Catalog footer shows the visitor's current date as "Built" date #113

Closed

Description

@TMHSDigital

Why it matters

The footer is supposed to tell visitors how fresh the catalog is. Instead it always shows today's date, so a catalog that hasn't been rebuilt in months still looks like it was built today. A trust signal that is always "today" misleads visitors and hides staleness.

Evidence

  • docs/index.html:420: el.textContent='Built '+new Date().toISOString().slice(0,10); runs in the browser.
  • The tool-site template does this correctly: site-template/template.html.j2:600 renders Built {{ build_date }} at build time.

Suggested approach

Have sync_from_registry.py, or the pages.yml deploy step, write the real date into the HTML: the last commit date of registry.json, or the deploy timestamp. Remove the client-side new Date().

Done when

The footer date reflects the actual last build or update and does not change between visits.

Activity

  1. added
    bug
    priority: medium
    catalog-site
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcatalog-sitepriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions