docs: Update example configuration

This commit is contained in:
adnano 2022-02-09 00:02:53 -05:00
parent 25abdfe285
commit 7d0dcae66e

View file

@ -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"
``` ```