Delete source/daily.json.twig

This commit is contained in:
Oliver Davies 2024-07-31 22:27:25 +01:00 committed by GitHub
parent 809a27a773
commit 6cdd0b20de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,19 +0,0 @@
---
permalink: /daily.json
use: [daily_emails]
---
{
"emails": [
{% for email in data.daily_emails %}
{
"title": "{{ email.title|trim }}",
"date": "{{ email.date }}",
"permalink": "{{ email.permalink.relativeUrlPath }}",
"text": {{ email.blocks.content|replace({ '\n': '' })|json_encode|raw }},
"cta": "{{ email.cta }}",
"tags": [{% for tag in email.tags %}"{{ tag }}"{% if not loop.last %},{% endif %}{% endfor %}]
}{% if not loop.last %},{% endif %}
{% endfor %}
]
}