1
0
Fork 0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-05-30 15:56:05 +02:00

doc: Use borderless tables

This commit is contained in:
Adnan Maolood 2021-04-20 15:54:52 -04:00
parent 80b314ffb7
commit d2bbec49d9

View File

@ -24,7 +24,7 @@ There is only one default task called "gemini" which builds a Gemini site.
The following directories are used by default:
[[ *Directory*
|[ *Directory*
:[ *Description*
| content/
: Content directory
@ -45,7 +45,7 @@ information on TOML, see https://toml.io/en/v0.4.0.
The following keys are supported:
[[ *Key*
|[ *Key*
:[ *Description*
| 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:
[[ *Key*
|[ *Key*
:[ *Description*
| input_ext
: Input file extension
@ -158,7 +158,7 @@ this directory.
The template directory contains templates for use when building the site.
Templates use the Go templating language. The following templates are supported:
[[ *Template*
|[ *Template*
:[ *Description*
| page.gmi
: Page template
@ -182,7 +182,7 @@ https://golang.org/pkg/text/template/.
All templates have the following functions available to them:
[[ *Function*
|[ *Function*
:[ *Description*
| site
: Returns site metadata
@ -191,7 +191,7 @@ All templates have the following functions available to them:
Site metadata contains the following data:
[[ *Variable*
|[ *Variable*
:[ *Description*
| Title
: The title of the site.
@ -204,7 +204,7 @@ To configure these variables, see *CONFIGURATION*.
Page templates are provided with the following data:
[[ *Variable*
|[ *Variable*
:[ *Description*
| Title
: 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:
[[ *Variable*
|[ *Variable*
:[ *Description*
| Title
: Title of the directory
@ -267,7 +267,7 @@ Example feed configuration:
Feed templates are provided with the following data:
[[ *Variable*
|[ *Variable*
:[ *Description*
| Title
: Title of the feed