capsule/gempost.yaml

56 lines
1.9 KiB
YAML

# The directory to generate the capsule at (required).
public_dir: "./public/"
# The directory for static assets that are copied to the generated capsule
# verbatim (required).
static_dir: "./static/"
# The directory for gemtext gemlog posts and their sidecar metadata files
# (required).
posts_dir: "./gemlog/"
# The path of the Tera template used to generate the gemlog index page
# (required).
index_template_file: "./templates/index.tera"
# The path of the Tera template used to generate each gemlog post page
# (required).
post_template_file: "./templates/post.tera"
# A Tera template which specifies the URL path for posts (required).
#
# This template has access to the following variables:
# - `year`: The four-digit year of publication, if a publication date was provided
# - `month`: The two-digit month of publication, if a publication date was provided
# - `day`: The two-digit day of publication, if a publication date was provided
# - `slug`: The name of the gemtext source file, sans file extension
#
# Docs for the Tera templating language:
# https://keats.github.io/tera/docs/#templates
post_path: "/gemlog/{{ year }}-{{ month }}-{{ day }}-{{ slug }}.gmi"
# The URL path of the index page for your gemlog (required).
index_path: "/gemlog/index.gmi"
# The URL path to serve your capsule's Atom feed at (required).
feed_path: "/gemlog/atom.xml"
# The title of your gemlog (required).
title: "📡 jbowdre's gemlog"
# The gemini:// URL of your capsule's homepage (required).
url: "gemini://capsule.jbowdre.lol/"
# A subtitle for your gemlog (optional).
subtitle: "short notes on stuff i've learned/thought/done lately"
# The copyright and licensing information for your gemlog (optional).
rights: "CC BY-SA"
# The primary author of your gemlog (optional).
author:
name: "John Bowdre" # Required
email: "jbowdre@omg.lol" # Optional
uri: "gemini://capsule.jbowdre.lol" # Optional