blob: a515a6eac066674af368072b4752a8ca0300cab1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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 %}",
},
}
# Sphinx creates canonical links pointing to this base URL by default
html_baseurl = blog_baseurl
|