mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Update README.md
This commit is contained in:
parent
399e543b4a
commit
8c40cf81f5
|
@ -4,7 +4,6 @@ A simple static site generator for Gemini.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Zero configuration
|
|
||||||
- Simple and fast
|
- Simple and fast
|
||||||
- Gemini support
|
- Gemini support
|
||||||
- Go templates
|
- Go templates
|
||||||
|
@ -23,6 +22,10 @@ go install
|
||||||
kiln
|
kiln
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To export to HTML, use the `-html` flag.
|
||||||
|
|
||||||
|
To generate Atom feeds, use the `-atom` flag.
|
||||||
|
|
||||||
## Directory Structure
|
## Directory Structure
|
||||||
|
|
||||||
A kiln site is organized in the following way:
|
A kiln site is organized in the following way:
|
||||||
|
@ -67,7 +70,7 @@ directory: src/posts/
|
||||||
permalink: /posts/
|
permalink: /posts/
|
||||||
```
|
```
|
||||||
|
|
||||||
Pages and directory index files are written to `{{ .Permalink }}/index.html`.
|
Pages and directory index files are written to `{{ .Permalink }}/index.gmi`.
|
||||||
|
|
||||||
## Templates
|
## Templates
|
||||||
|
|
||||||
|
@ -78,8 +81,6 @@ These are the supported templates:
|
||||||
- `index.gmi`: The template used for directory index files
|
- `index.gmi`: The template used for directory index files
|
||||||
- `atom.xml`: The template used when generating Atom feeds
|
- `atom.xml`: The template used when generating Atom feeds
|
||||||
|
|
||||||
To generate Atom feeds, run `kiln` with the `-atom` flag.
|
|
||||||
|
|
||||||
### Page templates
|
### Page templates
|
||||||
|
|
||||||
Page templates are provided with the following information:
|
Page templates are provided with the following information:
|
||||||
|
|
Loading…
Reference in a new issue