mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
doc: Use borderless tables
This commit is contained in:
parent
87c65818be
commit
3bebd0bf12
|
@ -24,7 +24,7 @@ There is only one default task called "gemini" which builds a Gemini site.
|
||||||
|
|
||||||
The following directories are used by default:
|
The following directories are used by default:
|
||||||
|
|
||||||
[[ *Directory*
|
|[ *Directory*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| content/
|
| content/
|
||||||
: Content directory
|
: Content directory
|
||||||
|
@ -45,7 +45,7 @@ information on TOML, see https://toml.io/en/v0.4.0.
|
||||||
|
|
||||||
The following keys are supported:
|
The following keys are supported:
|
||||||
|
|
||||||
[[ *Key*
|
|[ *Key*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| title
|
| title
|
||||||
: Site title
|
: Site title
|
||||||
|
@ -61,7 +61,7 @@ Tasks can be specified in the [tasks] table. Each task must have a unique name.
|
||||||
|
|
||||||
The following keys are supported per task:
|
The following keys are supported per task:
|
||||||
|
|
||||||
[[ *Key*
|
|[ *Key*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| input_ext
|
| input_ext
|
||||||
: Input file extension
|
: Input file extension
|
||||||
|
@ -158,7 +158,7 @@ this directory.
|
||||||
The template directory contains templates for use when building the site.
|
The template directory contains templates for use when building the site.
|
||||||
Templates use the Go templating language. The following templates are supported:
|
Templates use the Go templating language. The following templates are supported:
|
||||||
|
|
||||||
[[ *Template*
|
|[ *Template*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| page.gmi
|
| page.gmi
|
||||||
: Page template
|
: Page template
|
||||||
|
@ -182,7 +182,7 @@ https://golang.org/pkg/text/template/.
|
||||||
|
|
||||||
All templates have the following functions available to them:
|
All templates have the following functions available to them:
|
||||||
|
|
||||||
[[ *Function*
|
|[ *Function*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| site
|
| site
|
||||||
: Returns site metadata
|
: Returns site metadata
|
||||||
|
@ -191,7 +191,7 @@ All templates have the following functions available to them:
|
||||||
|
|
||||||
Site metadata contains the following data:
|
Site metadata contains the following data:
|
||||||
|
|
||||||
[[ *Variable*
|
|[ *Variable*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| Title
|
| Title
|
||||||
: The title of the site.
|
: The title of the site.
|
||||||
|
@ -204,7 +204,7 @@ To configure these variables, see *CONFIGURATION*.
|
||||||
|
|
||||||
Page templates are provided with the following data:
|
Page templates are provided with the following data:
|
||||||
|
|
||||||
[[ *Variable*
|
|[ *Variable*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| Title
|
| Title
|
||||||
: The title of the page
|
: The title of the page
|
||||||
|
@ -227,7 +227,7 @@ lines will be removed from the page content.
|
||||||
|
|
||||||
Index templates are provided with the following data:
|
Index templates are provided with the following data:
|
||||||
|
|
||||||
[[ *Variable*
|
|[ *Variable*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| Title
|
| Title
|
||||||
: Title of the directory
|
: Title of the directory
|
||||||
|
@ -267,7 +267,7 @@ Example feed configuration:
|
||||||
|
|
||||||
Feed templates are provided with the following data:
|
Feed templates are provided with the following data:
|
||||||
|
|
||||||
[[ *Variable*
|
|[ *Variable*
|
||||||
:[ *Description*
|
:[ *Description*
|
||||||
| Title
|
| Title
|
||||||
: Title of the feed
|
: Title of the feed
|
||||||
|
|
Loading…
Reference in a new issue