Skip to content

lppgo/lppgo.github.io

Repository files navigation

lppgo.github.io

李平平的个人博客

golang,rust,python,java

学习,记录,分享,成长

1: 主题修改

git clone https://github.com/olOwOlo/hugo-theme-even themes/even

https://www.cnblogs.com/wylshkjj/p/18785629

# 标准版
go install github.com/gohugoio/hugo@latest

# 构建扩展版
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest


# 构建扩展/部署版本
CGO_ENABLED=1 go install -tags extended,withdeploy github.com/gohugoio/hugo@latest

2: config.toml 配置更新

3: hugo -d docs

4: hugo new posts/xxx.md

5: 书写 md 文档

6: 添加图片

7:删除 docs

8: hugo -d docs

9: hugo

10: hugo --gc --minify --cleanDestinationDir

11: git push

12: 本地预览 hugo server -D

13: hugo 版本更新

hugo version

go get -u -v github.com/gohugoio/hugo

14: opencode skills

- 用 lpp-blogs,目标目录 content/post/Golang,文件名 038_Go日志实践.md,把这个 URL https:   //example.com/article 转成符合当前目录格式的博客并保存。
- 用 lpp-blogs,目标目录 content/post/Python,文件名 022_uv进阶使用.md,把我下面这段笔记整理成符合当前目录文章格式的博客并保存。
- 用 lpp-blogs,目标目录 content/post/Database,文件名 002_PostgreSQL索引入门.md,把本地资料 /tmp/postgres-notes.md 转成符合当前目录格式的博客并保存。

About

李平平的个人Blog

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages