{{/* Copyright (C) 2019 Josh Habdas This file is part of After Dark. After Dark is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. After Dark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ -}} https://blogs.law.harvard.edu/tech/rss {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}{{ range first 1 (default slice .Site.Params.images) }} {{ if eq $.Title $.Site.Title }}{{ $.Site.Title }}{{ else }}{{ with $.Title }}{{ . }} on {{ end }}{{ $.Site.Title }}{{ end }} {{ $.Permalink }} {{ . }} {{ end }} 1440 {{ with .Site.Data.npm.latest }}{{ .name | humanize | title }} {{ .version }} (Hugo {{ hugo.Version }}){{ else }}Hugo {{ hugo.Version }}{{ end }}{{ with .Site.LanguageCode }} {{ . }}{{ end }}{{ with .Site.Author }} {{ .email }}{{ with .name }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Author }} {{ .email }}{{ with .name }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . | plainify }}{{ end }}{{ if not now.IsZero }} {{ dateFormat "Mon, 02 Jan 2006 15:04:05" now.UTC | safeHTML }} UT{{ end }} {{ with .OutputFormats.Get "rss" -}} {{ printf "" .Permalink .MediaType | safeHTML }} {{- end }}{{ range .Pages }} {{ .Title }} {{ .Permalink }}{{ if not .PublishDate.IsZero }} {{ dateFormat "Mon, 02 Jan 2006 15:04:05" .Date.UTC | safeHTML }} UT{{ end }}{{ if ne .Site.Params.hide_author true }}{{ if or (.Param "author") .Site.Author.email }} {{ default .Site.Author.email (.Param "author") }}{{ if and (not (.Param "author")) .Site.Author.name }} ({{ default (.Param "author") .Site.Author.name }}){{ end }}{{ end }}{{ end }} {{ .Permalink }} {{ .Summary | plainify }}{{ range .Params.categories }} {{ . | title }}{{ end }}{{ with .Resources.GetMatch "enclosure" }}{{ if .Params.length }} {{ end }}{{ end }} {{ "" | safeHTML }} {{ end }}