capsule/gempost.yaml

55 lines
1.9 KiB
YAML
Raw Normal View History

2024-03-03 22:34:46 +00:00
# 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: "John's Capsule"
# The gemini:// URL of your capsule's homepage (required).
2024-03-04 03:36:29 +00:00
url: "gemini://capsule.jbowdre.lol/"
2024-03-03 22:34:46 +00:00
# A subtitle for your gemlog (optional).
2024-03-04 00:08:00 +00:00
subtitle: "Short notes on stuff I've learned/thought/done lately"
2024-03-03 22:34:46 +00:00
# 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
2024-03-04 00:10:34 +00:00
uri: "gemini://capsule.jbowdre.lol" # Optional