Redo all the RSS -> feeds go to feed.rss now!
This commit is contained in:
parent
ce60159540
commit
7efd9a3bd6
8 changed files with 25 additions and 10 deletions
20
config.toml
20
config.toml
|
@ -3,11 +3,6 @@ languageCode = 'en-us'
|
|||
title = 'Erynwells.me'
|
||||
defaultContentLanguage = 'en'
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.RSS]
|
||||
baseName = 'feed'
|
||||
suffixes = ['rss']
|
||||
|
||||
[author]
|
||||
name = 'Eryn Wells'
|
||||
|
||||
|
@ -17,6 +12,11 @@ name = 'Eryn Wells'
|
|||
[languages.es]
|
||||
weight = 2
|
||||
|
||||
[mediaTypes]
|
||||
[mediaTypes.'application/rss+xml']
|
||||
delimiter = '.'
|
||||
suffixes = ['rss']
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = 'blog'
|
||||
|
@ -27,6 +27,16 @@ name = 'Eryn Wells'
|
|||
name = 'Résumé'
|
||||
url = '/resume/'
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.RSS]
|
||||
mediatype = 'application/rss+xml'
|
||||
baseName = 'feed'
|
||||
suffixes = ['rss']
|
||||
|
||||
[outputs]
|
||||
home = ['HTML', 'RSS']
|
||||
page = ['HTML']
|
||||
|
||||
[params]
|
||||
twitter = 'erynofwales'
|
||||
github = 'erynofwales'
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Cats"
|
|||
date: 2021-10-01T23:14:56-07:00
|
||||
draft: false
|
||||
type: simple
|
||||
rss_ignore: true
|
||||
---
|
||||
|
||||
Here's the thing: cats are really, really good. Like just the very best.
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Cats"
|
|||
date: 2021-10-01T23:14:56-07:00
|
||||
draft: false
|
||||
type: simple
|
||||
rss_ignore: true
|
||||
---
|
||||
|
||||
Here's the thing: cats are really, really good. Like just the very best.
|
||||
|
|
|
@ -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
|
||||
draft: false
|
||||
type: simple
|
||||
rss_ignore: true
|
||||
---
|
||||
|
||||
Every so often I get hooked on [this game][nethack]. It's a command line
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Résumé"
|
|||
date: 2021-09-29T20:40:09-07:00
|
||||
draft: false
|
||||
type: resume
|
||||
rss_ignore: true
|
||||
---
|
||||
|
||||
## Experience
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Résumé"
|
|||
date: 2021-09-29T20:40:09-07:00
|
||||
draft: false
|
||||
type: resume
|
||||
rss_ignore: true
|
||||
---
|
||||
|
||||
{{< resume_section company="Apple" team="Authentication Experience" from=2019 >}}
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{- end -}}
|
||||
{{ range $pages }}
|
||||
{{ if ne .Params.rss_ignore true }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
@ -35,5 +36,6 @@
|
|||
<description>{{ .Content | html }}</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</channel>
|
||||
</rss>
|
|
@ -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(--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>
|
||||
{{ with .Site.GetPage "/blog" }}
|
||||
{{ with .OutputFormats.Get "rss" }}
|
||||
<li><a style="--url: var(--rss-icon)" href="{{ .RelPermalink }}" aria-label="rss"><span>rss</span></a></li>
|
||||
{{ end }}
|
||||
{{ with .OutputFormats.Get "rss" }}
|
||||
<li><a style="--url: var(--rss-icon)" href="{{ .RelPermalink }}" aria-label="rss"><span>rss</span></a></li>
|
||||
{{ end }}
|
||||
</menu>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue