gemini-capsule/capsule/config.toml

51 lines
1.0 KiB
TOML

title = "La capsule de Valvin"
[permalinks]
"/" = "/{{ .Date.Format `2006/01/02` }}/{{ path.Base .Path }}/"
"/gemlog/" = "/gemlog/{{ .Date.Format `2006/01/02` }}/{{ path.Base .Path }}/"
[[tasks]]
name = "Gemini"
url = "gemini://gmi.valvin.fr"
input = [".gmi"]
output = ".gmi"
template = ".gmi"
static_dir = "static"
output_dir = "public"
[[tasks.feeds]]
input_dir = "./gemlog"
title = "La capsule de Valvin"
template = "atom.xml"
output = "atom.xml"
[[tasks.feeds]]
input_dir = "./gemlog"
title = "La capsule de Valvin"
template = "atom.gmi"
output = "atom.gmi"
[[tasks]]
input = [".gmi"]
output = ".html"
preprocess.gmi = "gmnitohtml"
output_dir = "public_html"
static_dir = "static"
template = ".html"
#[[tasks]]
#input = [".gmi"]
#output = ".html"
#template = ".gmi"
##postprocess = "gmnitohtml -t templates/html_template.html"
#postprocess = "gmnitohtml"
#static_dir = "static"
#output_dir = "public_html"
[[tasks.feeds]]
input_dir = "./gemlog"
url = "https://gmi.valvin.fr"
title = "Valvin's Gemlog on tilde.team"
template = "atom.xml"
output = "atom.xml"