gemini-capsule/capsule/config.toml

43 lines
916 B
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 }}/"
"/peppercarrot/" = "/peppercarrot/{{ 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"]
url = "https://gmi.valvin.fr"
output = ".html"
preprocess.gmi = "gmnitohtml"
output_dir = "public_html"
static_dir = "static"
template = ".html"
[[tasks.feeds]]
input_dir = "./gemlog"
title = "Le GemLog de Valvin (html)"
template = "atom.xml"
output = "atom.xml"