Skip to content

[BUG] Dead files and unreferenced partials in the theme #16155

Description

@mattstratton

Housekeeping found while documenting the repo for AI coding assistants. None of these break anything today; the first one is the only one with a real behavioural effect.

  • themes/devopsdays-theme/layouts/_default/list.html is a zero-byte file. Any section without a dedicated list template renders an empty body rather than falling back to something sensible. Either give it content or delete it so Hugo's own default applies.
  • static/events/2019-cairo/readme.md is a zero-byte file. Safe to delete.
  • themes/devopsdays-theme/layouts/partials/events/event_metadata.html is never referenced. It builds schema.org ExhibitionEvent JSON-LD, which looks like something we'd want — so this is either "wire it up" or "delete it", not just cleanup.
  • themes/devopsdays-theme/layouts/partials/search_modal.html is never referenced by any layout.
  • themes/devopsdays-theme/.nvmrc contains v9.4.0, which is an npm version, not a Node version. The root .nvmrc says 22 and .github/workflows/hugo.yml sets NODE_VERSION: 22. The theme-level file is misleading; delete it or correct it.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions