I don’t think category
is used here.
This commit is contained in:
parent
6a351cefda
commit
5fb79c5849
@ -21,15 +21,7 @@ eleventyExcludeFromCollections: true
|
|||||||
"url": "{{ absolutePostUrl }}",
|
"url": "{{ absolutePostUrl }}",
|
||||||
"title": "{{ post.data.title }}",
|
"title": "{{ post.data.title }}",
|
||||||
"content_html": {% if post.templateContent %}{{ post.templateContent | dump | safe }}{% else %}""{% endif %},
|
"content_html": {% if post.templateContent %}{{ post.templateContent | dump | safe }}{% else %}""{% endif %},
|
||||||
"date_published": "{{ post.date | rssDate }}",
|
"date_published": "{{ post.date | rssDate }}"
|
||||||
"tags": [
|
|
||||||
{%- for c in post.data.category %}
|
|
||||||
"{{ c }}"
|
|
||||||
{%- if not loop.last -%}
|
|
||||||
,
|
|
||||||
{%- endif -%}
|
|
||||||
{%- endfor %}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
{%- if not loop.last -%}
|
{%- if not loop.last -%}
|
||||||
,
|
,
|
||||||
|
Loading…
Reference in New Issue
Block a user