diff --git a/README.md b/README.md index 1bfede0..c5a4f29 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ alternative for my own use. ## How it works -Edit [`hugo.toml`](hugo.toml) (`[params]` block) → push to `main` → GitHub +Edit [`hugo.yml`](hugo.yml) (`params:` block) → push to `main` → GitHub Actions builds with Hugo + bonsai → output deploys to GitHub Pages. ## Local development @@ -32,7 +32,7 @@ domain — Hugo will copy it through to the deployed site. ## Project layout ``` -hugo.toml # site content — edit [params] here +hugo.yml # site content — edit params here content/_index.md # placeholder so Hugo renders the index static/images/ # avatar etc. themes/bonsai/ # bonsai theme (git submodule) diff --git a/content/_index.md b/content/_index.md index e6dbe72..ad10e90 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,4 +2,4 @@ title: "Home" --- -This file exists so Hugo renders the index page. All bio content comes from `[params]` in `hugo.toml`. +This file exists so Hugo renders the index page. All bio content comes from `params` in `hugo.yml`. diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 51631df..0000000 --- a/hugo.toml +++ /dev/null @@ -1,30 +0,0 @@ -baseURL = "https://tiennm99.github.io/iammiti99/" -languageCode = "en" -title = "Tien — links" -theme = "bonsai" - -# Single-page bio — disable everything Hugo doesn't need. -disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"] - -[params] - name = "@miti99" - tagline = "Engineer building things on the web." - bio = "Tien Nguyen Minh — engineer, builder, writer." - avatar = "/images/avatar.jpg" - themeToggle = false - footerText = "Thanks for stopping by. © 2026 Tien Nguyen Minh" - - [[params.links]] - title = "GitHub" - url = "https://github.com/tiennm99" - icon = "github" - - [[params.links]] - title = "iammiti99" - url = "https://github.com/tiennm99/iammiti99" - icon = "link" - - [[params.links]] - title = "Email" - url = "mailto:minhtienit99@gmail.com" - icon = "mail" diff --git a/hugo.yml b/hugo.yml new file mode 100644 index 0000000..03e34e0 --- /dev/null +++ b/hugo.yml @@ -0,0 +1,31 @@ +baseURL: https://tiennm99.github.io/iammiti99/ +languageCode: en +title: Tien — links +theme: bonsai + +# Single-page bio — disable everything Hugo doesn't need. +disableKinds: + - taxonomy + - term + - RSS + - sitemap + - "404" + +params: + name: "@miti99" + tagline: Engineer building things on the web. + bio: Tien Nguyen Minh — engineer, builder, writer. + avatar: /images/avatar.jpg + themeToggle: false + footerText: Thanks for stopping by. © 2026 Tien Nguyen Minh + + links: + - title: GitHub + url: https://github.com/tiennm99 + icon: github + - title: iammiti99 + url: https://github.com/tiennm99/iammiti99 + icon: link + - title: Email + url: mailto:minhtienit99@gmail.com + icon: mail