14 lines
410 B
HTML
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}} |