diff --git a/content/menu/_index.md b/content/menu/_index.md index a1f9da2..01864b9 100644 --- a/content/menu/_index.md +++ b/content/menu/_index.md @@ -64,7 +64,7 @@ The following menu contains meals that are in rotation at my home. These are mad - Pre-made Indian Curries * Tikka Marsala - Pre-made Japanese Vermont curry -- [Alfredo](alfredo/) +- [Fettuccine Alfredo](fettuccine-alfredo/) - Pad Thai - [White Pepper Spaetzle](white-pepper-spaetzle/) - [Korma](korma/) diff --git a/content/subscribe.md b/content/subscribe.md index 490724d..1383c42 100644 --- a/content/subscribe.md +++ b/content/subscribe.md @@ -4,7 +4,6 @@ description: Ways to subscribe to Brandon Rozek --- - [Blog Posts](/blog/index.xml) -- [Postroll](/postroll/index.xml) - Mastodon - [Follow directly](https://fosstodon.org/users/brozek/remote_follow) - [Via RSS](/toots/index.xml) diff --git a/layouts/partials/rss-item/postroll.xml b/layouts/partials/rss-item/postroll.xml deleted file mode 100644 index a36bdbd..0000000 --- a/layouts/partials/rss-item/postroll.xml +++ /dev/null @@ -1,9 +0,0 @@ - - Postroll: {{ .Title }} - {{ with .Params.url }}{{ . }}{{ else }}{{ .Permalink }}{{ end }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ .Params.author }} - {{ with .Params.url }}{{ . }}{{ else }}{{ .Permalink }}{{ end }} - {{ printf `Brandon's Comment:

%s]]>
` .Summary | safeHTML }} - {{ printf `Brandon's Comment:

%s]]>
` .Content | safeHTML }} -
\ No newline at end of file diff --git a/layouts/postroll/rss.xml b/layouts/postroll/rss.xml new file mode 100644 index 0000000..506221d --- /dev/null +++ b/layouts/postroll/rss.xml @@ -0,0 +1,44 @@ +{{- $pctx := . -}} +{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} +{{- $pages := $pctx.RegularPages -}} +{{- $limit := .Site.Config.Services.RSS.Limit -}} +{{- if ge $limit 1 -}} +{{- $pages = $pages | first $limit -}} +{{- end -}} +{{- printf "" | safeHTML }} +{{- $style := resources.Get "css/pretty-feed-v3.xsl" -}} +{{- printf "" $style.Permalink | safeHTML }} + + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} | {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} | {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + {{ .Site.BaseURL }}img/{{ .Site.Params.avatar }} + + {{ .Description }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}}{{ with .Site.Params.email }} + {{.}}{{ with $.Site.Params.Author }} ({{.}}){{end}}{{end}}{{ with .Site.Params.email }} + {{.}}{{ with $.Site.Params.Author }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end }} + {{ range $pages }} + + {{ .Title }} + {{ .Params.url }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ .Params.author }} + {{ .Params.url }} + {{ printf `Brandon's Comment:

%s]]>
` .Summary | safeHTML }} + {{ printf `Brandon's Comment:

%s]]>
` .Content | safeHTML }} +
+ {{ end }} +
+
\ No newline at end of file diff --git a/themes/pulp b/themes/pulp index 47c3dcf..6f8ae91 160000 --- a/themes/pulp +++ b/themes/pulp @@ -1 +1 @@ -Subproject commit 47c3dcfc5dd69860f008024c16fa5118a8dfbbad +Subproject commit 6f8ae91e561aff2b707774a820490112c6be8ad9