Personal bilingual technical blog powered by Hugo, PaperMod, GitHub Pages, and Giscus.
Install Hugo Extended first:
hugo versionThen run:
hugo server -DEnglish is the default language and lives at the root path. Chinese pages live under /zh/.
Create two files with the same translationKey:
content/posts/my-post.zh.md
content/posts/my-post.en.md
Example front matter:
---
title: "文章标题"
date: 2026-05-17T01:10:00+08:00
draft: false
translationKey: "my-post"
tags: ["distributed-training"]
categories: ["分布式训练"]
---- Create a GitHub repository. For this user site, name it
ISEEKYAN.github.io. - Keep
baseURLand the GitHub social link inhugo.yamlpointed atISEEKYAN. - Push this repository to GitHub:
git init
git add .
git commit -m "Initialize Hugo blog"
git branch -M main
git remote add origin git@github.com:ISEEKYAN/ISEEKYAN.github.io.git
git push -u origin main- In GitHub, open
Settings -> Pagesand selectGitHub Actionsas the build and deployment source.
Private repositories can publish with GitHub Pages only when the account/plan supports it. If Pages does not allow deployment from the private repo, make the repository public after the content is ready.
- Enable Discussions in the GitHub repository.
- Install the Giscus GitHub app: https://github.com/apps/giscus
- Open https://giscus.app and select the repository and discussion category.
- Copy
repo,repoId,category, andcategoryIdintoparams.giscusinhugo.yaml.
Comments stay disabled until those Giscus fields are filled.