mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
Fix memex being shown on homepage
This commit is contained in:
parent
f16938789d
commit
fd992b8107
2 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ date = ["date", "publishDate", "lastmod", ":git"]
|
|||
curiosities = "🤩"
|
||||
memex = "🧠"
|
||||
review = "📝"
|
||||
poetry = "🥁"
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
|
|
|
@ -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 }}">
|
||||
|
|
Loading…
Reference in a new issue