---
permalink: /feed/json.json
eleventyExcludeFromCollections: true
metadata:
    title: "Garrett Mills - Notes"
    description: "Misc notes, posts, links, and updates from garrettmills.dev."
    language: en
    base: "https://garrettmills.dev"
    author:
        name: "Garrett Mills"
        email: "shout@garrettmills.dev"
---
{
	"version": "https://jsonfeed.org/version/1.1",
	"title": "{{ metadata.title }}",
	"language": "{{ metadata.language }}",
	"home_page_url": "{{ metadata.base | addPathPrefixToFullUrl }}",
	"feed_url": "{{ permalink | htmlBaseUrl: metadata.base }}",
	"description": "{{ metadata.description }}",
	"icon": "{{ metadata.base }}/assets/favicon/apple-touch-icon.png",
	"authors": [
		{
			"name": "{{ metadata.author.name }}",
			"url": "{{ metadata.base }}/#about"
		}
	],
	"items": [
		{%- for post in collections.feedDesc %}
			{%- capture absolutePostUrl %}{{ post.url | htmlBaseUrl: metadata.base }}{% endcapture %}
			{
				"id": "{{ absolutePostUrl }}",
				"url": "{{ absolutePostUrl }}",
				"title": "{{ post.data.title }}",
				"content_html": {% if post.content %}{{ post.content | renderTransforms: post.data.page, metadata.base | json }}{% else %}""{% endif %},
				"date_published": "{{ post.date | dateToRfc3339 }}",
				"date_modified": "{{ post.date | dateToRfc3339 }}",
				"author": {
					"name": "{{ metadata.author.name }}",
					"url": "{{ metadata.base }}/#about"
				}
			}
			{% unless forloop.last %},{% endunless %}
		{%- endfor %}
	]
}
