diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d567336..b97e1c8 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -15,23 +15,7 @@ {{ if .Pages }}
{{range .Pages}} -
-
- {{ if .Params.video}} - - {{else}} - - - - {{end}} -
-
-

{{.Title}}

-

{{.Params.description}}

-
-
+ {{partial "item" .}} {{end}}
{{end}} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 79096cd..f166787 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -1,25 +1,26 @@ - {{ .Title }} + {{.Title}} {{ .Permalink }} {{.Params.description}} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{ end }} - {{ range .Pages }} + + {{.Site.BaseURL}}{{.Site.Params.default_img}} + + {{ range .Site.RegularPages }} {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - - - {{- .Content | html -}} - - {{ end }} + {{ .Permalink }}{{ if .Params.video}} + + {{end}}{{ if .Params.audio}} + + {{end}}{{ if .Params.image}} + {{.Site.BaseURL}}{{.Params.image}}{{end}} + {{ .Summary | html}} + {{ end }} diff --git a/layouts/articles/rss.xml b/layouts/articles/rss.xml deleted file mode 100644 index e00a1f8..0000000 --- a/layouts/articles/rss.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - {{.Title}} - {{ .Permalink }} - {{.Params.description}} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{ end }} - {{ range .Pages }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{- .Summary | html -}} - {{- .Content | html -}} - - {{ end }} - - diff --git a/layouts/index.html b/layouts/index.html index e5df978..9d477ca 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -12,7 +12,7 @@ {{ if .Site.Data.details.social_links}}
-
+

Stay up to date

-
+ {{end}}