Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <contact@angelostavrow.com>2019-09-30 15:30:05 +0300
committerAngelo Stavrow <contact@angelostavrow.com>2019-09-30 15:30:05 +0300
commit6a7f1c34fcbe1ac7f35b621eeaf081188c11c968 (patch)
treeba9892bfb9c7b8f5d27f1e3a296c8ce4179c3157
parent1848457904ec73625421874db40c2f7a19559d59 (diff)
Update README to explain mainSections configuration parameter (#56)
-rw-r--r--README.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9ebc568..8f1225e 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,13 @@ https://github.com/AngeloStavrow/indigo.git
There's a sample config.toml file in the root of the indigo theme directory (`config.toml.example`); copy it to the root of your Hugo site, and rename it to `config.toml` _after_ you've made a backup of your current config.toml file (if any).
-Set up the parameters in the config file, especially those in the social and `params.indieWeb` section. Social identifiers that you leave out will not be added to the footer of the site.
+Set up the parameters in the config file, especially those in the social and `params.indieWeb` section. Social identifiers that you leave out will not be added to the footer of the site. If you prefer to use a content type other than `post`, be sure to change the `mainSections` parameter in the config file as well. For example, if you want content of type `posts` and `updates` to show up in lists, change the `mainSections` parameter to:
+
+```toml
+[params]
+ ...
+ mainSections = ["posts", "updates"]
+```
You can configure the theme to show info about the author; by default, this information is shown; if you'd prefer to leave it out, set `ShowBio` to `false`.
@@ -40,13 +46,13 @@ Indigo will look for custom CSS in `<YOUR_HUGO_SITE>/static/css/custom.css`. Thi
You can add a line to your `config.toml` file to set this theme as the default:
-```
+```toml
theme = "indigo"
```
Or, if you use `config.yaml`:
-```
+```yaml
theme: indigo
```