mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 19:05:41 +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 = "🤩"
|
curiosities = "🤩"
|
||||||
memex = "🧠"
|
memex = "🧠"
|
||||||
review = "📝"
|
review = "📝"
|
||||||
|
poetry = "🥁"
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[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.
|
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>
|
</p>
|
||||||
<ol class="recent-posts">
|
<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 -}}
|
{{- range $posts.ByDate.Reverse | first 6 -}}
|
||||||
{{- $typeEmoji := index .Site.Params.defaultEmoji .Type -}}
|
{{- $typeEmoji := index .Site.Params.defaultEmoji .Type -}}
|
||||||
<li data-type-emoji="{{ $typeEmoji }}" data-my-emoji="{{ with .Params.emoji }}{{ . }}{{ else }}{{ $typeEmoji }}{{ end }}">
|
<li data-type-emoji="{{ $typeEmoji }}" data-my-emoji="{{ with .Params.emoji }}{{ . }}{{ else }}{{ $typeEmoji }}{{ end }}">
|
||||||
|
|
Loading…
Reference in a new issue