Fix memex being shown on homepage

This commit is contained in:
JP Hastings-Spital 2024-03-17 21:37:20 +00:00
parent f16938789d
commit fd992b8107
2 changed files with 2 additions and 1 deletions

View file

@ -62,6 +62,7 @@ date = ["date", "publishDate", "lastmod", ":git"]
curiosities = "🤩"
memex = "🧠"
review = "📝"
poetry = "🥁"
[languages]
[languages.en]

View file

@ -11,7 +11,7 @@
This site is a much loved wild garden; things aren't perfectly orgnaised, there are lots of nooks and crannies to explore. Follow your nose and see where you end up.
</p>
<ol class="recent-posts">
{{- $posts := where .Site.RegularPages "Section" "in" (slice "posts" "bookmarks" "memex") -}}
{{- $posts := where .Site.RegularPages "Section" "in" (slice "posts" "bookmarks" "poetry") -}}
{{- range $posts.ByDate.Reverse | first 6 -}}
{{- $typeEmoji := index .Site.Params.defaultEmoji .Type -}}
<li data-type-emoji="{{ $typeEmoji }}" data-my-emoji="{{ with .Params.emoji }}{{ . }}{{ else }}{{ $typeEmoji }}{{ end }}">