Thanks for the suggestions.
I can see how that information might be useful. Including the current page would break caching, because the page content would change even though no new posts were added.
However, it is possible to add the number of replies and images by customizing extra_footer.gohtml:
1
2
3
4
5
6
7
8
9
10
|
{{if and (ne .ReplyMode 0) (gt (len .Threads) 0) (gt (len (index .Threads 0)) 0)}}
{{$replies := len (index .Threads 0) | MinusOne}}
{{$images := Add64 0 0}}{{/* Initialize int64 variable. */}}
{{range $post := (index .Threads 0)}}
{{if ne $post.File ""}}
{{$images = Add64 $images 1}}{{/* Increment variable. */}}
{{end}}
{{end}}
{{$replies}} replies and {{$images}} images.
{{end}}
|
I have opened a tracking issue for allowing visitors to include a reason when reporting posts:
https://codeberg.org/tslocum/sriracha/issues/141