Wire up jekyll-seo-tag and drop the unused jekyll-feed - #30
Merged
Merged
Conversation
Both plugins were declared in _config.yml and neither was doing anything.
jekyll-feed generated a feed.xml with zero entries — the site has no _posts —
and nothing linked to it. Removed.
jekyll-seo-tag was never invoked, and that cost something real: the layout's
only <meta name="description"> sat inside an `is_project_page` conditional
that is false for this site, so panopticas.io shipped with no description, no
Open Graph tags and no Twitter card. Sharing a link produced a bare URL.
The layout now calls {% seo %} in place of the hand-rolled title and the dead
conditional. `url` is set in _config.yml so canonical and og:url are absolute.
Each page carries its own `description` in front matter, so a shared link to
/cli does not describe itself the same way as /api.
Page titles gain the site suffix as a result: "CLI Reference | Panopticas"
rather than "CLI Reference".
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
sabbaticas
force-pushed
the
docs/seo-tags-and-config-cleanup
branch
from
August 17, 2026 02:13
7017254 to
49076da
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/_config.ymldeclared two Jekyll plugins and neither was doing anything. One is removed; the other turned out to be worth wiring up rather than deleting.jekyll-feed — removed
It generated a
feed.xmlwith zero entries (a 468-byte empty envelope), because the site has no_posts/. Nothing linked to it.jekyll-seo-tag — wired up
It was declared but never invoked, and that cost something real. The layout's only
<meta name="description">sat inside{% if site.github.is_project_page %}, which is false for this site, so it never rendered:panopticas.io was shipping with no description, no Open Graph tags and no Twitter card — sharing a link anywhere produced a bare URL with no preview.
The layout now calls
{% seo %}in place of the hand-rolled title and the dead conditional.urlis set in_config.yml, without which canonical andog:urlcome out relative.Each page also carries its own
descriptionin front matter, so a shared link to/clidoes not describe itself identically to/api:All four pages also gain canonical, Open Graph, Twitter card and JSON-LD tags.
Behaviour change
Page titles gain the site suffix — tabs read
CLI Reference | Panopticasrather thanCLI Reference. This is jekyll-seo-tag's standard format and was accepted deliberately.Verification
Rebuilt and inspected the generated
<head>on every page: exactly one<title>each, a description on all four,feed.xmlno longer produced, and the nav links (/,/cli,/api,/ai-detection-rules) unchanged.jekyll-feedwas also dropped from the localdocs/Gemfile. That file is gitignored as of #28, so it is a machine-local edit and not part of this diff — but without it the local build keeps emittingfeed.xml, since gems in the:jekyll_pluginsgroup load regardless of_config.yml.Found, not changed
Canonical URLs render as
https://panopticas.io/cli.htmlwhile every internal link uses/cli. Both serve correctly, but search engines will consolidate on the.htmlform. Fixing it meanspermalink: pretty, which rewrites live URLs to/cli/— a larger change than this cleanup warrants, and worth deciding on its own.🤖 Generated with Claude Code