mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-25 04:43:04 +00:00
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
10
README.md
10
README.md
@ -42,13 +42,13 @@
|
||||
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
|
||||
@ -82,12 +82,12 @@ Below is an example on how to create a new site from scratch:
|
||||
```sh
|
||||
hugo new site mydocs; cd mydocs
|
||||
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 .
|
||||
```
|
||||
|
||||
```sh
|
||||
hugo server --minify --theme book
|
||||
hugo server --minify --theme hugo-book
|
||||
```
|
||||
|
||||
## Menu
|
||||
|
Loading…
Reference in New Issue
Block a user