sop.epic/views/activity.html

14 lines
410 B
HTML
Raw Permalink Normal View History

2023-07-02 05:30:36 +00:00
{{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}}