重构的第一篇博客
这是我重构的第一篇博客 意外接到腾讯云的电话 意外发现操作系统时忘备份数据 又意外发现服务器上有数据
Method 1 方法 1
Inside the folder of your Hugo site, run:
在 Hugo 站点的文件夹中,运行:
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
Note: You may use --branch v7.0 to end of above command if you want to stick to specific release.
注意:如果您想坚持使用特定版本,则可以使用 --branch v7.0 上述命令的结尾。
Updating theme with Method 1 :
使用方法 1 更新主题:
cd themes/PaperMod
git pull
本地预览网站效果
启动 Hugo server
hugo server -D
rm public
hugo
cd G:\oneblog
hugo new post/my-first-post.md # "my-first-post.md" 是新建文章的文件名
hugo new about.md
hugo new archives.md
hugo new links.md
hugo new search.md
hugo new tags.md