diff --git a/content/all/_index.md b/content/all/_index.md new file mode 100644 index 00000000..779276f0 --- /dev/null +++ b/content/all/_index.md @@ -0,0 +1,9 @@ +--- +title: All things Brain Baking +--- + +## All?? + +Congrats, you've unlocked a super-secret endpoint [/all/index.xml](/all/index.xml) used by my Jamstack server to process posts on this site! It's of no use to you, trust me. + +[Subscribe to Brain Baking](/subscribe) the _normal_ way, please. diff --git a/content/post/2020/10/dos-aspect-ratios.md b/content/post/2020/10/dos-aspect-ratios.md deleted file mode 100644 index 45b14475..00000000 --- a/content/post/2020/10/dos-aspect-ratios.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: 'Screen aspect ratios and DOS Games' -subtitle: 'Which monitor to use for VGA mode 13h?' -concept: true ---- - -Links: - -- [Displaced Gamers YouTube video](https://www.youtube.com/watch?v=YvckyWxHAIw) -- [LCD Monitor compatibility DB](https://www.vogons.org/viewtopic.php?f=46&t=44877&start=20) ([more](https://www.vogons.org/viewtopic.php?f=46&t=39136&hilit=widescreen%2Bresolution&page=8&per_page=20)) -- [Open Source Scan Converter](https://videogameperfection.com/products/open-source-scan-converter/) (OSSC) -- [EDID VGA/DVI Emulators](https://www.startech.com/fr-fr/audio-video-products/vsedidhd) \ No newline at end of file diff --git a/themes/brainbaking-minimal/layouts/_default/rss.xml b/themes/brainbaking-minimal/layouts/_default/rss.xml index bcb34c4f..62a23c7d 100644 --- a/themes/brainbaking-minimal/layouts/_default/rss.xml +++ b/themes/brainbaking-minimal/layouts/_default/rss.xml @@ -29,7 +29,7 @@ {{ printf "" .Permalink .MediaType | safeHTML }} {{ end }} {{ range $pages }} - {{ if and (in $allowedRssSections .Section) (not (isset .Params "type")) }} + {{ if and (in $allowedRssSections .Section) (not (isset .Params "type")) (or (not (isset .Params "context")) (eq .Params.context "")) }} {{ if eq .Section "post" }} 📰 {{ else if eq .Section "notes" }} 💭 {{ end }}{{ .Title }} {{ .Permalink }} diff --git a/themes/brainbaking-minimal/layouts/all/list.xml b/themes/brainbaking-minimal/layouts/all/list.xml new file mode 100644 index 00000000..530619bb --- /dev/null +++ b/themes/brainbaking-minimal/layouts/all/list.xml @@ -0,0 +1,46 @@ +{{- $baseurl := .Site.BaseURL -}} +{{- $pages := .Site.RegularPages -}} +{{- printf "" | safeHTML }} +{{- printf "" | safeHTML }} + + + {{ 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 }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}} + {{ with $.Site.Author.name }}{{.}}{{end}} + {{ with $.Site.Author.name }}{{.}}{{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 }} + {{ .Permalink }} + {{ .Site.Author.mastodonlink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with $.Site.Author.name }}{{.}}{{end}} + {{ .Permalink }} + {{ if .Keywords }} + {{ range .Keywords }} + {{ . }} + {{ end }} + {{ else if .Params.tags }} + {{ range .Params.tags }} + {{ . }} + {{ end }} + {{ end }} + + {{ $content := .Content | safeHTML }} + + {{ ` + + + {{ end }} + + \ No newline at end of file diff --git a/themes/brainbaking-minimal/layouts/notes/single.html b/themes/brainbaking-minimal/layouts/notes/single.html index d88bf256..ad7d6f72 100644 --- a/themes/brainbaking-minimal/layouts/notes/single.html +++ b/themes/brainbaking-minimal/layouts/notes/single.html @@ -29,7 +29,7 @@ notes - {{ if isset .Params "context" }} + {{ if (and (isset .Params "context") (not (eq .Params.context ""))) }}  |  diff --git a/themes/brainbaking-minimal/layouts/partials/single-header.html b/themes/brainbaking-minimal/layouts/partials/single-header.html index 4284e220..00455fde 100644 --- a/themes/brainbaking-minimal/layouts/partials/single-header.html +++ b/themes/brainbaking-minimal/layouts/partials/single-header.html @@ -37,7 +37,7 @@ {{ end }} {{ end }} - {{ if isset .Params "context" }} + {{ if (and (isset .Params "context") (not (eq .Params.context ""))) }}  |