diff --git a/internal/webserver/tpl/tweet_page_includes/timeline.tpl b/internal/webserver/tpl/tweet_page_includes/timeline.tpl new file mode 100644 index 0000000..c8d0cd6 --- /dev/null +++ b/internal/webserver/tpl/tweet_page_includes/timeline.tpl @@ -0,0 +1,13 @@ +{{define "timeline"}} + {{range .Items}} + {{template "tweet" .}} + {{end}} + {{if .CursorBottom.CursorPosition.IsEnd}} +

End of feed

+ {{else}} + + {{end}} +{{end}}