Move all files to old/astro/

This commit is contained in:
Oliver Davies 2025-10-03 01:06:46 +01:00
parent b176f4d25e
commit cdf77e8b5f
1340 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,26 @@
---
permalink: posts.json
use: [posts]
---
{
"posts": [
{% for post in data.posts|reverse %}
{
"id": "{{ loop.index }}",
"title": {{ post.title|json_encode|raw }},
"excerpt": {{ post.excerpt|json_encode|raw }},
"created": "{{ post.date }}",
"updated": "{{ post.date }}",
"path": "{{ post.url|trim('/', 'right') }}",
"content": {{ post.blocks.content|json_encode|raw }},
"status": "{{ post.draft ? '0' : '1' }}",
"tags": [
{% for tag in post.tags %}
"{{ tag }}"{% if not loop.last %},{% endif %}
{% endfor %}
]
}{% if not loop.last %},{% endif %}
{% endfor %}
]
}