{{- $pages := partialCached "writing.html" . -}}
{{- if and (not .IsHome) (ne .Section "writing") }}{{ $pages = .RegularPages }}{{ end -}}
{{- with .Params.filterKind }}{{ $pages = where $pages "Params.format" . }}{{ end -}}
{{- printf "" | safeHTML }}
{{ partial "feed-title.html" . }}{{ with .OutputFormats.Get "HTML" }}{{ .Permalink }}{{ end }}{{ partial "description.html" (site.GetPage "/writing") }}{{ site.Language.Locale }}{{ with .OutputFormats.Get "RSS" }}{{ end }}
{{ range first 30 $pages.ByDate.Reverse }}- {{ partial "text.html" .Title | plainify | htmlUnescape }}{{ .Permalink }}{{ .Permalink }}{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}{{ partial "text.html" (.Description | default (.Summary | plainify)) | plainify | htmlUnescape }}
{{ end }}