diff options
author | Yue Yang <g1enyy0ung@gmail.com> | 2021-06-05 18:43:02 +0300 |
---|---|---|
committer | Yue Yang <g1enyy0ung@gmail.com> | 2021-06-05 18:43:02 +0300 |
commit | 42900701d3e6303daa13ee4ec4c4fa4d7a7f72df (patch) | |
tree | fd91587f0930be85af7ebe252874c3dcddbc1c42 | |
parent | 31ec74ee23a3cebc0fa9bde0cf942383438743d7 (diff) |
sh => bash
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | docs/README.md | 2 | ||||
-rw-r--r-- | docs/about-page.md | 4 | ||||
-rw-r--r-- | docs/copyright.md | 2 | ||||
-rw-r--r-- | docs/netlify-cms.md | 2 | ||||
-rw-r--r-- | docs/quick-start.md | 6 |
6 files changed, 9 insertions, 9 deletions
@@ -85,7 +85,7 @@ All tags of this theme: Go into your blog folder and: -```sh +```bash cd themes git clone https://github.com/g1eny0ung/hugo-theme-dream.git dream ``` diff --git a/docs/README.md b/docs/README.md index 9ccdc5f..fccd91d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -85,7 +85,7 @@ All tags of this theme: Go into your blog folder and: -```sh +```bash cd themes git clone https://github.com/g1eny0ung/hugo-theme-dream.git dream ``` diff --git a/docs/about-page.md b/docs/about-page.md index dd39c00..be7f33c 100644 --- a/docs/about-page.md +++ b/docs/about-page.md @@ -4,7 +4,7 @@ In [Quick Start](./quick-start.md), we add **About Me** as below: Type in your terminal: -```sh +```bash hugo new about/me.md ``` @@ -36,7 +36,7 @@ Related docs: <https://gohugo.io/content-management/page-bundles/#headless-bundl **You can add multiple `.md` files, all of them will also be rendered as masonry layout.** -```sh +```bash hugo new about/desc1.md hugo new about/desc2.md diff --git a/docs/copyright.md b/docs/copyright.md index cd54a0d..f38a227 100644 --- a/docs/copyright.md +++ b/docs/copyright.md @@ -4,7 +4,7 @@ You can add html tags in the copyright string. For example, the copyright of my blog is: -```sh +```bash copyright = '<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />本作品采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议</a>进行许可。' ``` diff --git a/docs/netlify-cms.md b/docs/netlify-cms.md index 3e2c208..2d7bed6 100644 --- a/docs/netlify-cms.md +++ b/docs/netlify-cms.md @@ -16,7 +16,7 @@ If you haven't know how to deploy your site to Netlify, please read: If you don't want to use git submodule to track Dream updates, you can use the following build command in Netlify: -```sh +```bash rm -rf themes/dream && git clone https://github.com/g1eny0ung/hugo-theme-dream.git themes/dream && hugo --cleanDestinationDir --minify --gc ``` diff --git a/docs/quick-start.md b/docs/quick-start.md index 7efce17..906977a 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -36,7 +36,7 @@ disqusShortname = "..." Type in your terminal: -```sh +```bash hugo new about/me.md ``` @@ -68,7 +68,7 @@ All of your posts must in the `content/posts` folder. You can generate it by: -```sh +```bash hugo new posts/articleTitle.md ``` @@ -108,7 +108,7 @@ At last, remove `draft: true` and run `hugo` to generate your site. If your want to have a preview in editing, run: -```sh +```bash hugo server -D ``` |