mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 09:18:28 -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:
parent
62db9e6a89
commit
e3359f8690
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user