{{- $alternate := or .Alternate "" -}} {{- $author := or .Author "" -}} {{- $date := or .Date "" -}} {{- $datetime := or .DateTime "" -}} {{- $datetitle := or .DateTitle "" -}} {{- $description := or .Description "" -}} {{- $expired := or .Expired "" -}} {{- $host := or .Host "" -}} {{- $href := or .Href "" -}} {{- $hreftitle := or .HrefTitle "" -}} {{- $name := or .Name "" -}} {{- $rel := or .Rel "" -}} {{- $source := or .Source "" -}} {{- $sourceset := or .SourceSet "" -}} {{- $title := or .Title "" -}} {{- $height := or .Height "64" -}} {{- $width := or .Width "64" -}} {{- $feedtitle := or .FeedTitle "" -}} {{- $feed := or .Feed (print $href "/rss.xml") -}} {{- if not $host -}} {{- $host = (urls.Parse ("" | absURL)).Host -}} {{- if not $host -}} {{- $host = "localhost" -}} {{- end -}} {{- end -}} {{- $date = .Date | time.Format "Mon Jan 2 2006" -}} {{- if not .Date -}} {{- $date = "Inactive" -}} {{- end -}}
{{- if not $expired -}}
{{- with $sourceset -}}
{{- end -}}
{{- else -}}
{{ delimit (first 1 (split $author "")) "" | strings.Title }}
{{- end -}}
{{ $name }}
@{{ $host }}
{{ $date }}
{{ with $description }}
{{ $description }}
{{- end -}}
{{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/rss.svg")) }}
Feed