Update for newer Zola
This commit is contained in:
parent
9f1cc6cace
commit
33def459cc
|
@ -13,8 +13,8 @@
|
|||
First download this theme to your `themes` directory:
|
||||
|
||||
```bash
|
||||
$ cd themes
|
||||
$ git clone https://github.com/getzola/after-dark.git
|
||||
cd themes
|
||||
git clone https://github.com/getzola/after-dark.git
|
||||
```
|
||||
and then enable it in your `config.toml`:
|
||||
|
||||
|
@ -35,8 +35,8 @@ The theme requires tags and categories taxonomies to be enabled in your `config.
|
|||
```toml
|
||||
taxonomies = [
|
||||
# You can enable/disable RSS
|
||||
{name = "categories", rss = true},
|
||||
{name = "tags", rss = true},
|
||||
{name = "categories", feed = true},
|
||||
{name = "tags", feed = true},
|
||||
]
|
||||
```
|
||||
If you want to paginate taxonomies pages, you will need to overwrite the templates
|
||||
|
|
|
@ -5,8 +5,8 @@ description = ""
|
|||
generate_feed = true
|
||||
|
||||
taxonomies = [
|
||||
{name = "categories", rss = true},
|
||||
{name = "tags", rss = true},
|
||||
{name = "categories", feed = true},
|
||||
{name = "tags", feed = true},
|
||||
]
|
||||
|
||||
[extra]
|
||||
|
|
Loading…
Reference in New Issue