diff --git a/layouts/partials/post-previews.html b/layouts/partials/post-previews.html index 3b9c9e3d..e66f929b 100644 --- a/layouts/partials/post-previews.html +++ b/layouts/partials/post-previews.html @@ -68,7 +68,16 @@ {{- end -}} - {{- $notePage := index (where .Site.RegularPages "Section" "eq" "notes") 0 -}} + {{- $notePages := where .Site.RegularPages "Section" "eq" "notes" -}} + {{- $notePage := index $notePages 0 -}} + {{- if $notePage.Params.inReplyTo -}} + {{- range $notePages -}} + {{- if not .Params.inReplyTo -}} + {{- $notePage = . -}} + {{- break -}} + {{- end -}} + {{- end -}} + {{- end -}} {{- with $notePage -}}
{{ partial "svg.html" (dict "name" "message") }} diff --git a/todo.md b/todo.md index 929b8293..cbd5d3f5 100644 --- a/todo.md +++ b/todo.md @@ -9,7 +9,7 @@ Things I might work on within my personal blog's software. - [ ] Micropub Replies look weird in a bunch of places - [ ] When posted via Echofeed: They include the "in reply to" initial stuff; this is too cumbersome - [ ] When posted via Echofeed: They should probably be "Quiet public", or ideally posted as replies to a fedi post, if there's one referenced in the source as a syncidcation - - [ ] They get posted on the homepage, when they shouldn't + - [x] They get posted on the homepage, when they shouldn't - [ ] Spoiler open styling has regressed! ### Ideas