diff --git a/content/posts/sh/git.md b/content/posts/commands/git.md similarity index 100% rename from content/posts/sh/git.md rename to content/posts/commands/git.md diff --git a/content/posts/sh/ssh.md b/content/posts/commands/ssh.md similarity index 98% rename from content/posts/sh/ssh.md rename to content/posts/commands/ssh.md index fa3eee7..fe5c939 100644 --- a/content/posts/sh/ssh.md +++ b/content/posts/commands/ssh.md @@ -1,6 +1,6 @@ --- title: "SSH隧道和HTTP代理" -date: 2024-03-21 +date: 2024-03-22 categories: [常用命令] tags: [ssh隧道,端口转发,HTTP代理] diff --git a/content/posts/blog/blog.md b/content/posts/deployments/blog.md similarity index 88% rename from content/posts/blog/blog.md rename to content/posts/deployments/blog.md index 87879fb..ad85377 100644 --- a/content/posts/blog/blog.md +++ b/content/posts/deployments/blog.md @@ -28,11 +28,15 @@ git submodule update --init --recursive # needed when you reclone your repo (sub # theme: ["PaperMod"] # Creat posts inside the folder of your Hugo site `MyFreshWebsite/content/` +# Test locally +# Commit and Push to Github +# Configure Github Action to CD your blog ``` ## 参考 - [Hugo文档](https://gohugo.io/installation/) +- [HugoGithubPages](https://gohugo.io/hosting-and-deployment/hosting-on-github/) - [PaperMod文档](https://adityatelange.github.io/hugo-PaperMod/) - [PaperMod配置参数](https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/) - [PaperModExampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite) diff --git a/hugo.yaml b/hugo.yaml index 2484fe2..72173e7 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -12,8 +12,8 @@ menu: - name: 🔍️ search url: /search/ weight: 4 - - name: 📚 archives - url: /archives/ + - name: 📚 posts + url: /posts/ weight: 5 - name: 📂 categories url: /categories/ @@ -24,7 +24,7 @@ menu: params: - env: production # to enable google analytics, opengraph, twitter-cards and schema. + env: production # to enable Google Analytics, opengraph, twitter-cards and schema. description: "LwQ's Blog" author: ["LwQ"]