aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-17 16:46:27 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-17 16:46:27 -0700
commitc99de3f10830e488fb6bee84ef1e69a9fddb6579 (patch)
tree61a989f2eec65c916aa63f342e8aa29d94bb8036
parent7554ab9cff0b91d37ea05423462238bfa6538f3f (diff)
downloadcactus-ssg-c99de3f10830e488fb6bee84ef1e69a9fddb6579.tar.gz
cactus-ssg-c99de3f10830e488fb6bee84ef1e69a9fddb6579.zip
provide more information to feed.xml
-rw-r--r--build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.py b/build.py
index 7d71b9f..1c117bd 100644
--- a/build.py
+++ b/build.py
@@ -178,6 +178,7 @@ def main():
now=datetime.utcnow(),
posts=posts,
content_attr='html_content',
+ content_type='html',
))
(gmi_site_dir / 'feed.xml').write_text(feed.render(
root='gemini://boringcactus.com',
@@ -186,6 +187,7 @@ def main():
now=datetime.utcnow(),
posts=posts,
content_attr='gmi_content',
+ content_type='text/gemini',
))