Added author config option to docs.

This commit is contained in:
Jacob Hinchliffe 2021-12-19 13:43:39 +00:00 committed by GitHub
parent 3359f859f7
commit 4565fba03e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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