sop.epic/views/activity.html
2023-07-01 23:30:36 -06:00

14 lines
410 B
HTML

{{if .Posts}}
<div class="list post-list js-post-list" data-next-page-url="?offset={{.Offset}}">
{{$user_id := .CurrentUser.ID}}
{{range $post := .Posts}}
{{template "render_post.html" $post}}
{{end}}
</div>
{{else}}
{{if eq .Offset 20}}
<div class="post-list-outline no-content no-post-content">
<p>the timeline empty....<br>spend more time on your Social Links.</p>
</div>
{{end}}
{{end}}