summaryrefslogtreecommitdiffstats
path: root/roots/test-build/conf.py
blob: a375b9abb10da72c332bfc22e2e9c50a4c00bd98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 %}",
    },
}