Rename theme in readmin to hugo-book (#386)
* Update README.md * Update README.md Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
This commit is contained in:
parent
8bb6d7ebec
commit
c47eb7388a
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
@ -42,13 +42,13 @@
|
||||||
Navigate to your hugo project root and run:
|
Navigate to your hugo project root and run:
|
||||||
|
|
||||||
```
|
```
|
||||||
git submodule add https://github.com/alex-shpak/hugo-book themes/book
|
git submodule add https://github.com/alex-shpak/hugo-book themes/hugo-book
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run hugo (or set `theme = "book"`/`theme: book` in configuration file)
|
Then run hugo (or set `theme = "hugo-book"`/`theme: hugo-book` in configuration file)
|
||||||
|
|
||||||
```
|
```
|
||||||
hugo server --minify --theme book
|
hugo server --minify --theme hugo-book
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install as hugo module
|
### Install as hugo module
|
||||||
|
@ -82,12 +82,12 @@ Below is an example on how to create a new site from scratch:
|
||||||
```sh
|
```sh
|
||||||
hugo new site mydocs; cd mydocs
|
hugo new site mydocs; cd mydocs
|
||||||
git init
|
git init
|
||||||
git submodule add https://github.com/alex-shpak/hugo-book themes/book
|
git submodule add https://github.com/alex-shpak/hugo-book themes/hugo-book
|
||||||
cp -R themes/book/exampleSite/content .
|
cp -R themes/book/exampleSite/content .
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
hugo server --minify --theme book
|
hugo server --minify --theme hugo-book
|
||||||
```
|
```
|
||||||
|
|
||||||
## Menu
|
## Menu
|
||||||
|
|
Loading…
Reference in a new issue