Update README.md

This commit is contained in:
adnano 2020-09-30 00:02:49 -04:00
parent 399e543b4a
commit 8c40cf81f5

View file

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