aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQIN2DIM <62018067+QIN2DIM@users.noreply.github.com>2021-11-19 20:33:01 +0800
committerGitHub <noreply@github.com>2021-11-19 13:33:01 +0100
commitc47eb7388a5be0faa6454c49c6034e6963667b93 (patch)
treec29e65d5ee0f37beaf8356d52d35bd2c1c24cd44
parent8bb6d7ebec03e232bf3544b25de8408b1a03b6fb (diff)
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>
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index c58dea6..a544ee8 100644
--- a/README.md
+++ b/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