-
-
Save iChris/f433532675d100758079e0ba4479398b to your computer and use it in GitHub Desktop.
Trying to create a JSON feed from my Eleventy based blog to import to Micro.Blog π
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
permalink: '/exportposts.json' | |
--- | |
[ | |
{% for post in collections.posts %} | |
{ | |
"title":"{{ post.data.title }}", | |
"url":"{{ post.url | url }}" , | |
} | |
{% if loop.last == false %},{% endif %} {% endfor %} {% | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe I just need to use this plugin instead?.