diff --git a/src/feed.11ty.liquid b/src/feed.11ty.liquid new file mode 100644 index 00000000..d0d24ff5 --- /dev/null +++ b/src/feed.11ty.liquid @@ -0,0 +1,13 @@ +--- +permalink: '/feed.json' +--- +{ + "posts": [ + {% for item in collections.posts %} + { + "title": "{{ item.data.title }}", + "url": "{{ item.url }}" + }{% if not loop.last %},{% endif %} + {% endfor %} + ] +}