diff --git a/content/about.md b/content/about.md index 9fc360c..c5dda2a 100644 --- a/content/about.md +++ b/content/about.md @@ -5,7 +5,7 @@ lastmod: "2024-05-29" description: "A brief introduction to me, this blog, and what you're likely to see here." timeless: true toc: false -categories: "/slashes" +categories: slashes --- **Hi, I'm John.** diff --git a/content/categories/slashes/_index.md b/content/categories/slashes/_index.md new file mode 100644 index 0000000..ab09aa0 --- /dev/null +++ b/content/categories/slashes/_index.md @@ -0,0 +1,8 @@ +--- +title: slashes +url: /slashes +aliases: + - categories/slashes +description: > + My collection of slashpages. +--- \ No newline at end of file diff --git a/content/changelog.md b/content/changelog.md index f119f68..be569b9 100644 --- a/content/changelog.md +++ b/content/changelog.md @@ -6,7 +6,7 @@ description: "Maybe I should keep a log of all my site-related tinkering?" featured: false toc: false timeless: true -categories: /slashes +categories: slashes --- *High-level list of config/layout changes to the site.* diff --git a/content/colophon.md b/content/colophon.md index 9179cfb..15c6c4b 100644 --- a/content/colophon.md +++ b/content/colophon.md @@ -6,7 +6,7 @@ description: "There's a lot that goes into this site. Let me tell you how it wor featured: false toc: true timeless: true -categories: /slashes +categories: slashes --- *I don't consider myself to be a web developer, but I've learned a **ton** through the process of building/tweaking/maintaining this site. The [colophon](https://indieweb.org/colophon) provides a quick overview of what powers `runtimeterror.dev`.* diff --git a/content/homelab.md b/content/homelab.md index 3400f2f..f98c015 100644 --- a/content/homelab.md +++ b/content/homelab.md @@ -8,7 +8,7 @@ description: "The systems I use for fun and enrichment." featured: false toc: true timeless: true -categories: /slashes +categories: slashes --- *I enjoy tinkering with small technology projects, and I learn a ton from these experiments. I also self-host a number of apps/services from my home as well as various cloud environments. This page describes some of my technical playground.* diff --git a/content/save.md b/content/save.md index 2a33a6f..819e9ae 100644 --- a/content/save.md +++ b/content/save.md @@ -6,7 +6,7 @@ description: "Referral links for products and services I use and heartily recomm featured: false toc: true timeless: true -categories: /slashes +categories: slashes --- *This `/saves` page lists my referral/affiliate links for high-quality products and services that I use on a daily basis. These are things I frequently recommend to others anyway, but signing up with these links might save one or both of us some money.* diff --git a/content/uses.md b/content/uses.md index f9ddc8a..5286f9d 100644 --- a/content/uses.md +++ b/content/uses.md @@ -5,7 +5,7 @@ date: "2024-05-29" description: "The hardware, software, services, and gear which I use (almost) daily." toc: true timeless: true -categories: /slashes +categories: slashes --- *Here's some of the stuff I use and how I use it.* diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index a4f283a..a62dc97 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -6,8 +6,13 @@ {{ if .IsHome }}

{{ site.Params.indexTitle | markdownify }}

{{ else }} -

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

- {{ if eq .Title "/slashes" }}My collection of slashpages.
{{ else }}{{ with .Description }}{{ . }}
{{ else }}
{{ end }}{{ end }} + {{ if eq .Title "slashes" }} +

/slashes  

+ My collection of slashpages.
+ {{ else }} +

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

+ {{ with .Description }}{{ . }}
{{ else }}
{{ end }} + {{ end }} {{ end }}{{ end }} {{ .Content }} @@ -43,7 +48,7 @@ {{ end }} {{- end }} {{- else }} - {{- if eq .Title "/slashes" }} + {{- if eq .Title "slashes" }} {{- $sortedSlashes := sort $pages "Title" }} {{- range $sortedSlashes }} {{- $postDate := .Date.Format "2006-01-02" }} diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 41a2c41..912b21d 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -10,7 +10,7 @@ {{ if isset .Params "categories" }} {{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }} {{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }} -{{ if eq .Params.categories "/slashes" }} +{{ if eq .Params.categories "slashes" }}

More {{ .Params.categories }}

{{ $sortedPosts := sort $related "Title" }} {{ else }} -

More {{ .Params.categories }}

+

More /slashes