mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-09 10:50:34 -05:00
Edited RSS template and style
This commit is contained in:
parent
becc01ac38
commit
4138894182
2 changed files with 6 additions and 46 deletions
File diff suppressed because one or more lines are too long
|
@ -7,13 +7,13 @@
|
|||
{{- end -}}
|
||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
{{- $style := resources.Get "css/pretty-feed-v3.xsl" -}}
|
||||
{{- printf "<?xml-stylesheet href=\"%s\" type=\"text/xsl\"?>" $style.Permalink | safeHTML }}
|
||||
{{- printf "<?xml-stylesheet href=%q type=\"text/xsl\"?>" $style.Permalink | safeHTML }}
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<image>{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}</image>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<description>{{ .Description }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
Loading…
Reference in a new issue