Skip to content

feat: favicon, 404 page, robots.txt and sitemap.xml - #12

Merged
JayTeeBat merged 1 commit into
mainfrom
feat/page-polish
Jul 18, 2026
Merged

feat: favicon, 404 page, robots.txt and sitemap.xml#12
JayTeeBat merged 1 commit into
mainfrom
feat/page-polish

Conversation

@JayTeeBat

Copy link
Copy Markdown
Owner

Page polish, no content changes:

  • Initials favicon as an inline SVG data URI on the index, the HTML export and the 404 page — derived from basics.name so it never goes stale, and no asset file for Pages to serve.
  • 404.html: Pages serves it for any dead path (a bookmarked artifact of an old cut); one message, one button back to the current CV, noindex.
  • robots.txt allows all and names the sitemap; sitemap.xml lists the index and every published variant page with lastmod from the content git date. Emitted only when meta.canonical exists, since sitemaps require absolute URLs.

The sitemap test parses the XML rather than grepping it: a malformed sitemap is silently ignored by crawlers, which is exactly the failure mode to prevent.

Page polish, no content changes:

- Initials favicon as an inline SVG data URI on the index, the HTML
  export and the 404 page — derived from basics.name so it never goes
  stale, and no asset file for Pages to serve.
- 404.html: Pages serves it for any dead path (a bookmarked artifact of
  an old cut); one message, one button back to the current CV, noindex.
- robots.txt allows all and names the sitemap; sitemap.xml lists the
  index and every published variant page with lastmod from the content
  git date. Emitted only when meta.canonical exists, since sitemaps
  require absolute URLs.

The sitemap test parses the XML rather than grepping it: a malformed
sitemap is silently ignored by crawlers, which is exactly the failure
mode to prevent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@JayTeeBat
JayTeeBat merged commit d9f693f into main Jul 18, 2026
4 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.

1 participant