Redo all the RSS -> feeds go to feed.rss now!

This commit is contained in:
Eryn Wells 2022-05-05 13:17:37 -07:00
parent ce60159540
commit 7efd9a3bd6
8 changed files with 25 additions and 10 deletions

View file

@ -3,11 +3,6 @@ languageCode = 'en-us'
title = 'Erynwells.me' title = 'Erynwells.me'
defaultContentLanguage = 'en' defaultContentLanguage = 'en'
[outputFormats]
[outputFormats.RSS]
baseName = 'feed'
suffixes = ['rss']
[author] [author]
name = 'Eryn Wells' name = 'Eryn Wells'
@ -17,6 +12,11 @@ name = 'Eryn Wells'
[languages.es] [languages.es]
weight = 2 weight = 2
[mediaTypes]
[mediaTypes.'application/rss+xml']
delimiter = '.'
suffixes = ['rss']
[menu] [menu]
[[menu.main]] [[menu.main]]
identifier = 'blog' identifier = 'blog'
@ -27,6 +27,16 @@ name = 'Eryn Wells'
name = 'Résumé' name = 'Résumé'
url = '/resume/' url = '/resume/'
[outputFormats]
[outputFormats.RSS]
mediatype = 'application/rss+xml'
baseName = 'feed'
suffixes = ['rss']
[outputs]
home = ['HTML', 'RSS']
page = ['HTML']
[params] [params]
twitter = 'erynofwales' twitter = 'erynofwales'
github = 'erynofwales' github = 'erynofwales'

View file

@ -3,6 +3,7 @@ title: "Cats"
date: 2021-10-01T23:14:56-07:00 date: 2021-10-01T23:14:56-07:00
draft: false draft: false
type: simple type: simple
rss_ignore: true
--- ---
Here's the thing: cats are really, really good. Like just the very best. Here's the thing: cats are really, really good. Like just the very best.

View file

@ -3,6 +3,7 @@ title: "Cats"
date: 2021-10-01T23:14:56-07:00 date: 2021-10-01T23:14:56-07:00
draft: false draft: false
type: simple type: simple
rss_ignore: true
--- ---
Here's the thing: cats are really, really good. Like just the very best. Here's the thing: cats are really, really good. Like just the very best.

View file

@ -4,6 +4,7 @@ description: In which I play way too much of a silly command line Rogue-like gam
date: 2022-04-13T08:43:46-07:00 date: 2022-04-13T08:43:46-07:00
draft: false draft: false
type: simple type: simple
rss_ignore: true
--- ---
Every so often I get hooked on [this game][nethack]. It's a command line Every so often I get hooked on [this game][nethack]. It's a command line

View file

@ -3,6 +3,7 @@ title: "Résumé"
date: 2021-09-29T20:40:09-07:00 date: 2021-09-29T20:40:09-07:00
draft: false draft: false
type: resume type: resume
rss_ignore: true
--- ---
## Experience ## Experience

View file

@ -3,6 +3,7 @@ title: "Résumé"
date: 2021-09-29T20:40:09-07:00 date: 2021-09-29T20:40:09-07:00
draft: false draft: false
type: resume type: resume
rss_ignore: true
--- ---
{{< resume_section company="Apple" team="Authentication Experience" from=2019 >}} {{< resume_section company="Apple" team="Authentication Experience" from=2019 >}}

View file

@ -26,6 +26,7 @@
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}} {{- end -}}
{{ range $pages }} {{ range $pages }}
{{ if ne .Params.rss_ignore true }}
<item> <item>
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>
@ -35,5 +36,6 @@
<description>{{ .Content | html }}</description> <description>{{ .Content | html }}</description>
</item> </item>
{{ end }} {{ end }}
{{ end }}
</channel> </channel>
</rss> </rss>

View file

@ -19,10 +19,8 @@
<li><a style="--url: var(--twitter-icon)" href="https://twitter.com/erynofwales" target="_blank" aria-label="twitter"><span>tw</span></a></li> <li><a style="--url: var(--twitter-icon)" href="https://twitter.com/erynofwales" target="_blank" aria-label="twitter"><span>tw</span></a></li>
<li><a style="--url: var(--github-icon)" href="https://github.com/erynofwales" target="_blank" aria-label="github"><span>gh</span></a></li> <li><a style="--url: var(--github-icon)" href="https://github.com/erynofwales" target="_blank" aria-label="github"><span>gh</span></a></li>
<li><a style="--url: var(--instagram-icon)" href="https://instagram.com/erynofwales" target="_blank" aria-label="instagram"><span>ig</span></a></li> <li><a style="--url: var(--instagram-icon)" href="https://instagram.com/erynofwales" target="_blank" aria-label="instagram"><span>ig</span></a></li>
{{ with .Site.GetPage "/blog" }} {{ with .OutputFormats.Get "rss" }}
{{ with .OutputFormats.Get "rss" }} <li><a style="--url: var(--rss-icon)" href="{{ .RelPermalink }}" aria-label="rss"><span>rss</span></a></li>
<li><a style="--url: var(--rss-icon)" href="{{ .RelPermalink }}" aria-label="rss"><span>rss</span></a></li>
{{ end }}
{{ end }} {{ end }}
</menu> </menu>
</nav> </nav>