Updated quickstart to split theme download and theme config add into separate blocks (#967)

* split downloading the theme and adding it to config into two steps.

* fixed typo in new text
This commit is contained in:
Michael Marturana 2020-01-01 11:42:07 -05:00 committed by Patrick Kollitsch
parent e099c1ad63
commit e96928e383

View File

@ -63,6 +63,8 @@ The above will create a new Hugo site in a folder named `quickstart`.
See [themes.gohugo.io](https://themes.gohugo.io/) for a list of themes to consider. This quickstart uses the beautiful [Ananke theme](https://themes.gohugo.io/gohugo-theme-ananke/).
First, download the theme from Github and add it to your site's `theme` directory:
```bash
cd quickstart
@ -76,7 +78,11 @@ git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/anan
# - Extract that .zip file to get a "gohugo-theme-ananke-master" directory.
# - Rename that directory to "ananke", and move it into the "themes/" directory.
# End of note for non-git users.
```
Then, add the theme to the site configuration:
```bash
# Edit your config.toml configuration file
# and add the Ananke theme.
echo 'theme = "ananke"' >> config.toml