feat: json follow feed + github actions to post
This commit is contained in:
parent
55b45b8305
commit
02e444e25e
4 changed files with 67 additions and 0 deletions
14
src/follow.11ty.liquid
Normal file
14
src/follow.11ty.liquid
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
permalink: '/follow.json'
|
||||
---
|
||||
{% assign posts = follow.posts %}
|
||||
{
|
||||
"posts": [
|
||||
{% for item in posts %}
|
||||
{
|
||||
"title": "{{ item.data.title }}",
|
||||
"url": "{{ item.url }}"
|
||||
}{% if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
Reference in a new issue