{{ $pages := slice 1 2 3 4 }} {{ range $pages }} {{ $outbox := dict }} {{ $url := printf "https://bookwyrm.social/user/5ika/outbox?page=%d" . }} {{ with resources.GetRemote $url }} {{ $outbox = . | transform.Unmarshal }} {{ range $outbox.orderedItems }} {{ if hasPrefix .content "

" }}

{{ with index .attachment 0 }} {{ (replaceRE ` \(.*?\)` "" (replaceRE `^(.*):` "$1" .name)) | safeHTML }} {{ end}}
{{ dateFormat "2 Jan 2006" .published }}
{{ (replaceRE `

\(comment on .*

` "" .content) | safeHTML}}
{{ end }} {{ end }} {{ end }} {{ end }}