Skip to content

Remove meta keywords tag from page head - #137

Merged
vpetersson merged 1 commit into
sbomify:masterfrom
vpetersson-bot:remove-meta-keywords-tag
Aug 31, 2026
Merged

Remove meta keywords tag from page head#137
vpetersson merged 1 commit into
sbomify:masterfrom
vpetersson-bot:remove-meta-keywords-tag

Conversation

@vpetersson-bot

Copy link
Copy Markdown
Contributor

Search engines have not used the meta name="keywords" tag for ranking in over a decade — Google confirmed it does not use it back in 2009, and Bing treats it as a low-quality signal at best. The tag was being emitted on every page, either from a page's own keywords frontmatter or from the site-level fallback in hugo.toml.

This drops the one line in layouts/partials/head.html that renders it.

Scope

  • The schema.org keywords property (derived from page tags) is unchanged — that one is still consumed by search engines.
  • meta name="description" is unchanged.
  • The keywords: frontmatter in content files is left in place. It simply becomes inert, so no content files needed touching.

Verification

Production build with hugo --minify --environment production:

  • 521 pages built, exit 0
  • 0 pages contain meta name="keywords" (was: all of them)
  • meta name="description" still present and correct on spot-checked pages
  • schema.org "keywords":["sbom","cyclonedx","spdx","formats"] still emitted

🤖 Generated with Claude Code

https://claude.ai/code/session_01Eb2uMFkkbVviAV9PBVikPj

Search engines have not used the meta keywords tag for ranking in over
a decade. Dropping it removes a redundant tag from every page.

The schema.org keywords property, which is derived from page tags and
is still consumed, is unaffected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Eb2uMFkkbVviAV9PBVikPj
@vpetersson
vpetersson merged commit b9b56cc into sbomify:master Aug 31, 2026
2 checks passed
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