diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 1c1c5a0c..4fc2af63 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -24,7 +24,8 @@ {{- with .OutputFormats.Get "RSS" -}} {{ printf "" (.Permalink | absURL) .MediaType | safeHTML }} {{- end -}} - {{ range $i, $page := $pages }} + {{- range $i, $page := $pages -}} + {{- if .params.inReplyTo -}}{{ continue }}{{- end -}} {{ .Title | default (delimit (slice "An untitled" (.Date.Format "January") (.Type | singularize)) " ") }} {{ .Permalink | absURL }} @@ -32,12 +33,13 @@ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ .Permalink | absURL }} - {{ if .Params.bookmarkOf }} + {{- if .Params.bookmarkOf -}} {{- $reference := partial "reference.obj" (dict "url" .Params.bookmarkOf "page" .) -}} Thoughts on a bookmarked article{{ with $reference.name }}: {{.}}{{ end }}. - {{ else }} - {{ index (split .Summary "\n") 0 }} - {{ end }} + {{- else -}} + {{- if eq .Section "calendar" -}}(An event I may be going to.) {{ end -}} + {{- index (split .Summary "\n") 0 -}} + {{- end -}} {{- range $i, $src := .Params.Media }} @@ -52,15 +54,15 @@ {{ end -}} {{ end -}} {{ if $timing }} - <p style="font-style:italic;font-size:small">I'm planning on going to this event on + <p><i><small>I'm planning on going to this event on {{ partial "year-relative-date.txt" (time.AsTime $timing.starts) }}. - See the bottom of <a href="{{ .Permalink | absURL }}#post-info">the post</a> for more information, and get in touch if you'd like to go together!</p> + See the bottom of <a href="{{ .Permalink | absURL }}#post-info">the post</a> for more information, and get in touch if you'd like to go together!</small></i></p> {{ end }} {{- end -}} {{ if .Params.bookmarkOf }} - <p><i>{{ partial "bookmark-of.html" . | html }}</i></p> + <p><i><small>{{ partial "bookmark-of.html" . | html }}</small></i></p> {{ else if .Params.inReplyTo }} - <p><i>{{ partial "in-reply-to.html" . | html }}</i></p> + <p><i><small>{{ partial "in-reply-to.html" . | html }}</small></i></p> {{ end }} {{ .Content | html }}