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}}
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>
|
<description>
|
||||||
<p><strong>{{ .Description | html }}</strong></p>
|
<p><strong>{{ .Description | transform.XMLEscape | safeHTML }}</strong></p>
|
||||||
{{ .Content | html }}
|
{{ .Content | transform.XMLEscape | safeHTML }}
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,6 @@
|
||||||
site.Title }}{{ end }}
|
site.Title }}{{ end }}
|
||||||
</title>
|
</title>
|
||||||
{{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} {{
|
{{ 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