mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
Remove replies from homepage
This commit is contained in:
parent
387bca5d6c
commit
f8af214006
2 changed files with 11 additions and 2 deletions
|
@ -68,7 +68,16 @@
|
|||
</div>
|
||||
{{- 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 -}}
|
||||
<div class="note">
|
||||
<div class="context">{{ partial "svg.html" (dict "name" "message") }} <a href="{{ .RelPermalink }}"><date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date }}" title="Posted on {{ dateFormat "Monday Jan 2 2006 at 03:04 MST" .Date }}" data-pagefind-sort="date">
|
||||
|
|
2
todo.md
2
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
|
||||
|
|
Loading…
Reference in a new issue