summaryrefslogtreecommitdiffstats
path: root/roots/test-external/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'roots/test-external/conf.py')
-rw-r--r--roots/test-external/conf.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/roots/test-external/conf.py b/roots/test-external/conf.py
new file mode 100644
index 0000000..a375b9a
--- /dev/null
+++ b/roots/test-external/conf.py
@@ -0,0 +1,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 %}",
+ },
+}