How I built this blog with GitHub Pages

CategoryWeb Published Reading1 min read

Structure

  • Jekyll — the static site generator GitHub Pages builds for free
  • _notes/ko and _notes/en — files with the same name are linked as translations
  • _data/i18n.yml — every UI string in Korean and English

Dark mode

Every color is a CSS variable; data-theme="dark" just swaps the values.

:root { --bg-primary: #fff; }
[data-theme="dark"] { --bg-primary: #000; }

Writing

Create one Markdown file, add a title, date and category at the top — done.

Comments