mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-10-18 13:20:14 -04:00
20 lines
No EOL
564 B
JSON
20 lines
No EOL
564 B
JSON
{
|
|
"id": "{{ .Permalink }}",
|
|
"url": "{{ .Permalink }}",
|
|
"title": {{ .Title | jsonify }},
|
|
"authors": [
|
|
{{with $.Site.Author.name }}
|
|
{ "name": "{{ . }}" }
|
|
{{ end }}
|
|
],
|
|
"content_html": {{ .Content | jsonify }},
|
|
"date_published": "{{ .Date.Format "2006.01.02" }}",
|
|
"tags": {{ .Params.tags | jsonify }},
|
|
"_syndication": {
|
|
"mastodon": {
|
|
"enabled": {{ .Params.mastodon_enabled | default "false" }},
|
|
"toot_id": {{ .Params.mastodon_toot_id | default "null" }}
|
|
}
|
|
|
|
}
|
|
} |