Skip to content

Build jmnote.com from this repository with /<lang>/ paths - #17

Merged
jmnote merged 1 commit into
mainfrom
jmnote-com-site
Nov 14, 2026
Merged

jmnote merged 1 commit into
mainfrom
jmnote-com-site

Conversation

@jmnote

@jmnote jmnote commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Summary

This repository becomes the source for all of jmnote.com: the homepage moves in from jmnote.github.io, and every page lives under a language prefix.

URL Page
/ Picks saved choice > browser language > English and redirects; links both languages without JavaScript
/en/, /ko/ Homepage (tooling/site/home.yaml, repositories sorted by name automatically)
/en/slides/, /ko/slides/ Talk lists
/<lang>/slides/<id>/ Slidev decks (English list links the Korean deck when there is no English one)
/ko/slides/<year>/<file>.pdf PDFs
/ko/slides/template-showcase/ Showcase (preview build only)
  • Per-language HTML generated at build time: <html lang>, self canonical, hreflang en/ko/x-default, og:locale; sitemap.xml and robots.txt are generated too.
  • ?lang handling and the upstream asset sync are removed; language.js only remembers explicit choices and picks the entry language on /.
  • English k8s-ai-agent deck added (full translation, wording fitted to the layout). The deck language switcher keeps the current slide (?slide=<n> because static hosting cannot serve /<n> directly); the home button goes to the same-language list.

Merge order

Keep this draft until the repositories are renamed. Merging into this repo while it still deploys as the /slides/ project site would publish the new layout under /slides/ and break the live site.

  1. Rename the current jmnote.github.io repository (backup), disable its Pages, archive it.
  2. Rename this repository to jmnote.github.io.
  3. Pages: source GitHub Actions, custom domain jmnote.com.
  4. Merge this PR.

Not ported from the old homepage repo

Markdown / HTML / CSS / link checks and the version-based release workflow.

Test plan

  • make check (27 tests, README sync, full build)
  • Dev server (make site) and static dist/ served without fallbacks: all routes, root language selection (en-US, ko-KR, fr-FR), language links save the choice, deck switch keeps the slide, deck home button

Merge the homepage into this repository and serve every page under a
language prefix:

- / picks saved choice > browser language > English and redirects;
  without JavaScript it links both languages
- /en/, /ko/ homepage (content in tooling/site/home.yaml, repositories
  sorted by name automatically)
- /en/slides/, /ko/slides/ talk lists; /<lang>/slides/<id>/ decks;
  PDFs under /ko/slides/
- per-language HTML with self canonical, hreflang (en, ko, x-default),
  og:locale; generated sitemap.xml and robots.txt
- drop ?lang handling and the upstream asset sync

Add the English k8s-ai-agent deck with a language switcher that keeps
the current slide, and point the deck home button to the same-language
list.
@jmnote
jmnote marked this pull request as ready for review November 14, 2026 06:17
@jmnote
jmnote merged commit 9d732bf into main Nov 14, 2026
2 checks passed
@jmnote
jmnote deleted the jmnote-com-site branch November 14, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant