1
0
Fork 0
ablog/roots/test-external/conf.py
Daniel Baumann 2f2c7f3767
Adding upstream version 0.11.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-10 17:15:56 +01:00

16 lines
519 B
Python

extensions = ["ablog"]
# Enable Atom feed generation
blog_baseurl = "https://blog.example.com/"
# Include full post in feeds
blog_feed_fulltext = True
# Add a social media Atom feed
blog_feed_templates = {
# Use defaults, no templates
"atom": {},
# Create content text suitable posting to micro-bogging
"social": {
# Format tags as hashtags and append to the content
"content": "{{ title }}{% for tag in post.tags %}" " #{{ tag.name|trim()|replace(' ', '') }}" "{% endfor %}",
},
}