diff options
author | QIN2DIM <62018067+QIN2DIM@users.noreply.github.com> | 2021-11-19 20:33:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 13:33:01 +0100 |
commit | c47eb7388a5be0faa6454c49c6034e6963667b93 (patch) | |
tree | c29e65d5ee0f37beaf8356d52d35bd2c1c24cd44 | |
parent | 8bb6d7ebec03e232bf3544b25de8408b1a03b6fb (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.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |