Skip to content

tgo18/tgo18.github.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo 技术博客(PaperMod)

这是一个使用 PaperMod 主题、部署到 GitHub Pages 的 Hugo 博客项目。

首次拉取

主题通过 Git Submodule 管理,首次拉取后执行:

git submodule update --init --recursive

本地写作

如果本机已安装 Hugo(建议 Extended 版本):

hugo new posts/my-first-post.md
hugo server -D

部署

推送到 main 后,GitHub Actions 会自动构建并部署到 GitHub Pages。

仓库设置确认

  1. 在 GitHub 仓库的 Settings -> Pages 中,Build and deployment 选择 GitHub Actions
  2. 绑定自定义域名时,记得同步更新 config.toml 中的 baseURL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published