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"
|
||||
postprocess = "gmnitohtml"
|
||||
static_dir = "static"
|
||||
output_dir = "public.html"
|
||||
output_dir = "public_html"
|
||||
```
|
||||
|
||||
The following configuration generates an HTML site from Markdown files in the
|
||||
content directory and HTML templates in the templates directory. This
|
||||
configuration makes use of the *markdown*(1) comand to convert Markdown to HTML.
|
||||
The following configuration generates an HTML site from Markdown and Gemini text
|
||||
files in the content directory and HTML templates in the templates directory.
|
||||
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]]
|
||||
input_ext = [".md"]
|
||||
output_ext = ".html"
|
||||
template_ext = ".html"
|
||||
preprocess.md = "markdown"
|
||||
input = [".md", ".gmi"]
|
||||
output = ".html"
|
||||
template = ".html"
|
||||
preprocess.md = "mdtohtml"
|
||||
preprocess.gmi = "gmnitohtml"
|
||||
static_dir = "static"
|
||||
output_dir = "public"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue