Commit 55a53222 authored by Kaushal Modi's avatar Kaushal Modi

Add description to RSS feed

parent 647e43c3
......@@ -43,7 +43,9 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<description>{{ .Content | html }}</description>
{{ $description1 := .Description | default "" }}
{{ $description := (cond (eq "" $description1) "" (printf "<blockquote>%s</blockquote>" ($description1 | markdownify))) }}
<description>{{ printf "%s%s" $description .Content | html }}</description>
{{ with .Params.author -}}
{{- range . -}} <!-- Assuming the author front-matter to be a list -->
<author>{{ printf "%[email protected] (%s)" (. | replaceRE " " ".") . }}</author>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment