Merge pull request #29 from JacobHin2/patch-2
Added author config option to docs.
This commit is contained in:
commit
8c4c185ac5
18
README.md
18
README.md
|
@ -8,6 +8,7 @@
|
|||
- [Options](#options)
|
||||
- [Top menu](#top-menu)
|
||||
- [Title](#title)
|
||||
- [Author](#author)
|
||||
|
||||
## Installation
|
||||
First download this theme to your `themes` directory:
|
||||
|
@ -65,5 +66,22 @@ The site title is shown on the homepage. As it might be different from the `<tit
|
|||
element that the `title` field in the config represents, you can set the `after_dark_title`
|
||||
instead.
|
||||
|
||||
### Author
|
||||
You can set this on a per page basis or in the config file.
|
||||
|
||||
`config.toml`:
|
||||
```toml
|
||||
[extra]
|
||||
author = "John Smith"
|
||||
```
|
||||
In a page (wrap this in +++):
|
||||
```toml
|
||||
title = "..."
|
||||
date = 1970-01-01
|
||||
|
||||
[extra]
|
||||
author = "John Smith"
|
||||
```
|
||||
|
||||
## Original
|
||||
This template is based on the Hugo template https://git.habd.as/comfusion/after-dark
|
||||
|
|
Loading…
Reference in a new issue