1
0
Fork 0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-05-22 16:16:04 +02:00

Update README.md

This commit is contained in:
adnano 2020-09-29 16:46:54 -04:00
parent 531b92f191
commit 8cbabdca0b

View File

@ -71,13 +71,13 @@ Pages and directory index files are written to `{{ .Permalink }}/index.html`.
## Templates
Templates are located in the `templates` directory.
There are currently two supported templates:
There are the supported templates:
- `page.gmi`: The template used for pages
- `index.gmi`: The template used for directory index files
- `atom.xml`: The template used when generating Atom feeds
If `page.gmi` does not exist, page files will not be created.
If `index.gmi` does not exist, directory index files will not be created.
To generate Atom feeds, run `kiln` with the `-atom` flag.
### Page templates