rss: Full article in description, link in head
This commit is contained in:
parent
ed7fdc24c6
commit
967b613d91
2 changed files with 5 additions and 3 deletions
|
|
@ -34,8 +34,8 @@
|
|||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>
|
||||
<p><strong>{{ .Description | html }}</strong></p>
|
||||
{{ .Content | html }}
|
||||
<p><strong>{{ .Description | transform.XMLEscape | safeHTML }}</strong></p>
|
||||
{{ .Content | transform.XMLEscape | safeHTML }}
|
||||
</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -9,4 +9,6 @@
|
|||
site.Title }}{{ end }}
|
||||
</title>
|
||||
{{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} {{
|
||||
partial "head/analytics.html" . }}
|
||||
partial "head/analytics.html" . }} {{ with .OutputFormats.Get "rss" -}} {{
|
||||
printf `<link rel="%q" type="%q" href="%q" title="%q" />` .Rel .MediaType.Type
|
||||
.Permalink site.Title | safeHTML }} {{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue