Skip to content

Commit

Permalink
full-text RSS feed
Browse files Browse the repository at this point in the history
involves hacky symlinked shortcodes, otherwise AMP version gets chosen. not a bug but maybe file feature request: gohugoio/hugo#5204
  • Loading branch information
jakejarvis committed Dec 15, 2019
1 parent 80737f7 commit d9fb3ff
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions layouts/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
{{ with .Site.Author.email }}<author>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid>
<description>
{{ .Summary | html }}

{{ printf "<![CDATA[ <a href=%q>Read more...</a> ]]>" .Permalink | safeHTML }}
{{ .Content | html }}
</description>
</item>
{{ end }}
Expand Down
1 change: 1 addition & 0 deletions layouts/shortcodes/codepen.rss.html
1 change: 1 addition & 0 deletions layouts/shortcodes/gh-buttons.rss.html
1 change: 1 addition & 0 deletions layouts/shortcodes/image.rss.html
1 change: 1 addition & 0 deletions layouts/shortcodes/video.rss.html
1 change: 1 addition & 0 deletions layouts/shortcodes/youtube.rss.html

0 comments on commit d9fb3ff

Please sign in to comment.