Personal research blog built with Hugo and deployed to GitHub Pages by .github/workflows/hugo.yml on every push to main. The theme (Minimal Scholar v4) is a port of my former Blogger theme and lives in this repo (layouts/, assets/css/main.css, assets/js/main.js); there is no external theme module.
Repository Settings → Pages → Build and deployment → Source must be GitHub Actions. With "Deploy from a branch", GitHub also runs its own Jekyll build of the raw repository on every push and, finishing later, replaces the Hugo site (only the README shows; /about/ and every other page 404).
hugo new posts/my-post/index.mdFront matter fields are listed in archetypes/default.md. categories takes the most specific category from data/taxonomy.yaml (e.g. ["Battery"]); the group page (Materials) picks it up automatically. tags are free-form and shown as #tag. A featured.jpg (or cover.*, thumbnail.*) next to index.md becomes the list thumbnail and the social preview image.
Bilingual content follows the Blogger theme's convention: anything marked Korean or English is filtered by the 한 / 한·영 / EN toggle, unmarked content always shows.
- Blocks:
{{< ko >}} … {{< /ko >}}and{{< en >}} … {{< /en >}}(Markdown works inside) - Single paragraph, heading, list or table:
{.ko}/{.en}on the next line (headings:## 제목 {.ko}) - Inline:
{{< ko inline >}}…{{< /ko >}} - English title:
title_enin front matter (the old한글 || Englishtitle also works) /en/and/ko/redirect to the home page in that mode (?lang=en|ko, which also works on any page); language-prefixed paths such as/en/about/are redirected by the 404 page
Math ($…$, $$…$$) is rendered by KaTeX and fenced code by highlight.js, both loaded only on posts that need them. content/posts/theme-guide/ is a draft reference post showing all of this; it is never published.
Edit data/taxonomy.yaml (groups, English display names, Korean names). A new group also needs content/categories/<slug>/_index.md so its menu link works before it has posts.
Comments use giscus and stay hidden until configured: enable Discussions on this repository, install the giscus GitHub App, generate the values at giscus.app, and fill in [params.giscus] in hugo.toml.
Hugo extended 0.123.7 (the version pinned in CI):
hugo server -D