diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml
index d616fa5..3fbfcf5 100644
--- a/layouts/_default/list.atom.xml
+++ b/layouts/_default/list.atom.xml
@@ -96,9 +96,59 @@
{{- end }}
{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}
{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}
- {{ $description1 := .Description | default "" }}
- {{ $description := (cond (eq "" $description1) "" (printf "
%s
" ($description1 | markdownify))) }}
- {{ printf `` $description .Content | safeHTML }}
+ {{- $description := "" -}}
+ {{- with .Description -}}
+ {{- $description = . -}}
+ {{- else -}}
+ {{- with .Summary -}}
+ {{- $description = . -}}
+ {{- end -}}
+ {{- end -}}
+ {{- $description = (cond (eq "" $description) "" ($description | markdownify | emojify)) -}}
+ {{- $content := .Content -}}
+ {{- $subtitle := "" -}}
+ {{- with .Params.subtitle -}}
+ {{ $subtitle = . -}}
+ {{ $content = printf `%s
%s` $subtitle $content | safeHTML -}}
+ {{- end -}}
+ {{- $description = (cond (eq "" $description) "" ($description | markdownify | emojify)) -}}
+ {{- $continue := i18n "feed_item_summary_readmore" | default "Read more …" -}}
+ {{- $link := printf `%s?utm_source=rss_feed` .Permalink -}}
+ {{- $continue = printf `%s
` $link $continue | safeHTML -}}
+ {{ with .Params.disable_feed_content }}
+ {{ if ne "" $description }}
+ {{ if ne "" $subtitle }}
+ {{- $description = printf `%s
%s` $subtitle $description | safeHTML -}}
+ {{ end }}
+ {{ printf ` %s]]>` $description $continue | safeHTML -}}
+ {{ else }}
+ {{ if ne "" $subtitle }}
+ {{ printf `%s
%s]]>` $subtitle $continue | safeHTML }}
+ {{ else }}
+ {{ printf `` $continue | safeHTML }}
+ {{ end }}
+ {{ end }}
+ {{ else }}
+ {{ if eq "" $description }}
+ {{ if ne "" $content }}
+ {{ printf `` $content | safeHTML }}
+ {{ else }}
+ {{ if ne "" $subtitle }}
+ {{ printf `%s
%s]]>` $subtitle $continue | safeHTML }}
+ {{ else }}
+ {{ printf `` $continue | safeHTML }}
+ {{ end }}
+ {{ end }}
+ {{ else if eq "" $content }}
+ {{ if ne "" $subtitle }}
+ {{- $description = printf `%s
%s` $subtitle $description | safeHTML -}}
+ {{ end }}
+ {{ printf ` %s]]>` $description $continue | safeHTML -}}
+ {{ else }}
+ {{ printf `` $description | safeHTML }}
+ {{ printf `` $content | safeHTML }}
+ {{ end }}
+ {{ end }}
{{ with site.Taxonomies }}
{{ range $taxo,$_ := . }}
{{ with $page.Param $taxo }}