mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
docs: Update example configuration
This commit is contained in:
parent
25abdfe285
commit
7d0dcae66e
|
@ -337,19 +337,21 @@ command to convert Gemini text to HTML.
|
||||||
template = ".gmi"
|
template = ".gmi"
|
||||||
postprocess = "gmnitohtml"
|
postprocess = "gmnitohtml"
|
||||||
static_dir = "static"
|
static_dir = "static"
|
||||||
output_dir = "public.html"
|
output_dir = "public_html"
|
||||||
```
|
```
|
||||||
|
|
||||||
The following configuration generates an HTML site from Markdown files in the
|
The following configuration generates an HTML site from Markdown and Gemini text
|
||||||
content directory and HTML templates in the templates directory. This
|
files in the content directory and HTML templates in the templates directory.
|
||||||
configuration makes use of the *markdown*(1) comand to convert Markdown to HTML.
|
This configuration makes use of the *mdtohtml*(1) command to convert Markdown to
|
||||||
|
HTML, and the *gmnitohtml*(1) command to convert Gemini text to HTML.
|
||||||
|
|
||||||
```
|
```
|
||||||
[[tasks]]
|
[[tasks]]
|
||||||
input_ext = [".md"]
|
input = [".md", ".gmi"]
|
||||||
output_ext = ".html"
|
output = ".html"
|
||||||
template_ext = ".html"
|
template = ".html"
|
||||||
preprocess.md = "markdown"
|
preprocess.md = "mdtohtml"
|
||||||
|
preprocess.gmi = "gmnitohtml"
|
||||||
static_dir = "static"
|
static_dir = "static"
|
||||||
output_dir = "public"
|
output_dir = "public"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue