Update quick-start.md

This commit is contained in:
larry 2023-07-05 12:34:11 +08:00 committed by GitHub
parent 5c6653cb18
commit 6ff93d4788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ Run these commands to create a Hugo site with the [Ananke] theme. The next secti
hugo new site quickstart hugo new site quickstart
cd quickstart cd quickstart
git init git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml echo "theme = 'ananke'" >> hugo.toml
hugo server hugo server
``` ```
@ -81,7 +81,7 @@ git init
Clone the [Ananke] theme into the `themes` directory, adding it to your project as a [Git submodule]. Clone the [Ananke] theme into the `themes` directory, adding it to your project as a [Git submodule].
```text ```text
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
``` ```
Append a line to the site configuration file, indicating the current theme. Append a line to the site configuration file, indicating the current theme.