Skip to content

Wire up jekyll-seo-tag and drop the unused jekyll-feed - #30

Merged
sabbaticas merged 1 commit into
mainfrom
docs/seo-tags-and-config-cleanup
Aug 17, 2026
Merged

sabbaticas merged 1 commit into
mainfrom
docs/seo-tags-and-config-cleanup

Conversation

@sabbaticas

@sabbaticas sabbaticas commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

docs/_config.yml declared 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.xml with 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:

$ curl -s https://panopticas.io/ | grep -iE 'meta name="description"|og:|twitter:'
(nothing)

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. url is set in _config.yml, without which canonical and og:url come out relative.

Each page also carries its own description in front matter, so a shared link to /cli does not describe itself identically to /api:

Page Title Description
index Panopticas | Discover insights… site description
cli CLI Reference | Panopticas Every panopticas command, its options, and the JSON document each one emits.
api API Reference | Panopticas The panopticas Python API — functions and constants for file type detection and metadata extraction.
ai-detection-rules AI Detection Rules | Panopticas Every AI coding agent artifact panopticas detects, the source confirming each convention, and the candidates that were rejected.

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 | Panopticas rather than CLI 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.xml no longer produced, and the nav links (/, /cli, /api, /ai-detection-rules) unchanged.

jekyll-feed was also dropped from the local docs/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 emitting feed.xml, since gems in the :jekyll_plugins group load regardless of _config.yml.

Found, not changed

Canonical URLs render as https://panopticas.io/cli.html while every internal link uses /cli. Both serve correctly, but search engines will consolidate on the .html form. Fixing it means permalink: pretty, which rewrites live URLs to /cli/ — a larger change than this cleanup warrants, and worth deciding on its own.

🤖 Generated with Claude Code

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
sabbaticas force-pushed the docs/seo-tags-and-config-cleanup branch from 7017254 to 49076da Compare August 17, 2026 02:13
@sabbaticas
sabbaticas merged commit 5954a80 into main Aug 17, 2026
4 checks passed
@sabbaticas
sabbaticas deleted the docs/seo-tags-and-config-cleanup branch August 17, 2026 04:03
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.

1 participant