mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 16:05:31 -04:00
fix RSS template regression
...and switch from full content to summaries while figuring out why the AMP shortcodes are being prioritized instead of vanilla HTML
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{- printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML -}}
|
||||
{{ end }}
|
||||
{{ range first 15 (where .Data.Pages "Section" "notes") }}
|
||||
{{ range (where .Site.RegularPages "Section" "notes") }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
@@ -20,7 +20,7 @@
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>
|
||||
{{ .Content | html }}
|
||||
{{ .Summary | html }}
|
||||
</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user