morgan.mcmillian.dev/config.toml

35 lines
642 B
TOML
Raw Normal View History

2022-05-07 16:40:53 +00:00
title = "morgan.mcmillian.dev"
[permalinks]
"/" = "/{{ .Date.Format `2006/01/02` }}/{{ path.Base .Path }}/"
[[tasks]]
name = "gemini"
input = [".gmi"]
output = ".gmi"
template = ".gmi"
static_dir = "static"
output_dir = "public/gemini"
[[tasks.feeds]]
input_dir = "."
title = "morgan.mcmillian.dev"
template = "atom.xml"
output = "atom.xml"
[[tasks]]
name = "https"
input = [".gmi",".md"]
output = ".html"
template = ".html"
preprocess.gmi = "gmnitohtml"
preprocess.md = "mdtohtml"
static_dir = "static"
output_dir = "public/https"
[[tasks.feeds]]
input_dir = "."
title = "morgan.mcmillian.dev"
template = "atom.xml"
output = "atom.xml"