mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
20 lines
660 B
JSON
20 lines
660 B
JSON
{
|
|
"version": "https://jsonfeed.org/version/1.1",
|
|
"title": "{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} | {{ end }}{{ .Site.Title }}{{ end }}",
|
|
"home_page_url": "{{ .Site.BaseURL }}",
|
|
"feed_url": "{{ .Permalink }}",
|
|
"description": "{{ .Description }}",
|
|
"icon": "{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}",
|
|
"language": "en-US",
|
|
"authors": [
|
|
{{with $.Site.Author.name }}
|
|
{ "name": "{{ . }}" }
|
|
{{ end }}
|
|
],
|
|
"items": [
|
|
{{ range $index, $page := .Pages }}{{ if ne $index 0 }},{{ end }}
|
|
{{ .Render "item"}}
|
|
{{ end }}
|
|
]
|
|
}
|
|
|