summaryrefslogtreecommitdiff
path: root/themes/neonxp/layouts/_default/section.feed.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/neonxp/layouts/_default/section.feed.json31
1 files changed, 0 insertions, 31 deletions
diff --git a/themes/neonxp/layouts/_default/section.feed.json b/themes/neonxp/layouts/_default/section.feed.json
deleted file mode 100644
index d7d70d0..0000000
--- a/themes/neonxp/layouts/_default/section.feed.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "version": "https://jsonfeed.org/version/1",
- "title": {{ .Site.Title | jsonify }},
- "home_page_url": {{ .Permalink | jsonify }},
- {{ with .OutputFormats.Get "json" -}}
- "feed_url": {{ .Permalink | jsonify }},
- {{- end }}
- {{- if .Site.Params.author -}}
- "author": {
- "name": {{ .Site.Params.author | jsonify }}
- },
- {{ end -}}
- {{- if .Data.Pages -}}
- "items": [
- {{ range $index, $element := first 10 .Data.Pages -}}
- {{ if $index }},{{end}} {
- "title": {{ $element.Title | jsonify }},
- "id": {{ $element.Permalink | jsonify }},
- "url": {{ $element.Permalink | jsonify }},
- "summary": {{ $element.Summary | jsonify }},
- {{- if eq $element.Type "link" -}}
- "external_url": {{ $element.Params.link | jsonify }},
- {{- end -}}
- "content_html": {{ $element.Content | jsonify }},
- "content_text": {{ $element.Plain | jsonify }},
- "date_published": {{ $element.Date.Format "2006-02-01T15:04:05-0700" | jsonify }}
- }
- {{- end }}
- ]
- {{ end -}}
-} \ No newline at end of file