Remove shell promt from shell commands.

This commit is contained in:
Fredrik Jonsson 2022-06-03 10:02:24 +02:00
commit 3f01e69d6d

View file

@ -91,7 +91,7 @@ First of all, you need to turn your new or existing site into a hugo module.
From the root of your site: From the root of your site:
```shell ```shell
$ hugo mod init github.com/me/my-site hugo mod init github.com/me/my-site
``` ```
Afterwards, declare the `zen` theme module as a dependency of your site: Afterwards, declare the `zen` theme module as a dependency of your site:
@ -99,7 +99,7 @@ Afterwards, declare the `zen` theme module as a dependency of your site:
From the root of your site: From the root of your site:
```shell ```shell
$ hugo mod get github.com/frjo/hugo-theme-zen hugo mod get github.com/frjo/hugo-theme-zen
``` ```
### Git submodule ### Git submodule
@ -109,7 +109,7 @@ You can download and unpack the theme manually from Github but it's easier to us
From the root of your site: From the root of your site:
```shell ```shell
$ git clone https://github.com/frjo/hugo-theme-zen.git themes/zen git clone https://github.com/frjo/hugo-theme-zen.git themes/zen
``` ```
If you use git to version control your site, highly recommended, it's best to add the zen theme as a submodule. If you use git to version control your site, highly recommended, it's best to add the zen theme as a submodule.
@ -117,7 +117,7 @@ If you use git to version control your site, highly recommended, it's best to ad
From the root of your site: From the root of your site:
```shell ```shell
$ git submodule add https://github.com/frjo/hugo-theme-zen.git themes/zen git submodule add https://github.com/frjo/hugo-theme-zen.git themes/zen
``` ```
@ -128,7 +128,7 @@ $ git submodule add https://github.com/frjo/hugo-theme-zen.git themes/zen
From the root of your site: From the root of your site:
```shell ```shell
$ hugo mod get -u github.com/frjo/hugo-theme-zen hugo mod get -u github.com/frjo/hugo-theme-zen
``` ```
### Git submodule ### Git submodule
@ -136,7 +136,7 @@ $ hugo mod get -u github.com/frjo/hugo-theme-zen
From the root of your site: From the root of your site:
```shell ```shell
$ git submodule update --remote --merge git submodule update --remote --merge
``` ```
@ -145,7 +145,7 @@ $ git submodule update --remote --merge
From the root of `themes/zen/exampleSite`: From the root of `themes/zen/exampleSite`:
```shell ```shell
$ hugo server --themesDir ../.. hugo server --themesDir ../..
``` ```