I don’t think category is used here.

This commit is contained in:
Zach Leatherman 2020-07-27 15:04:10 -05:00
parent 6a351cefda
commit 5fb79c5849

View File

@ -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 -%}
, ,