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:
QIN2DIM 2021-11-19 20:33:01 +08:00 committed by GitHub
parent 8bb6d7ebec
commit c47eb7388a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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