2025-11-07 01:04:10 +00:00
|
|
|
{{define "blogpost"}}
|
|
|
|
|
<div class="blogpost">
|
|
|
|
|
<h3 class="title"><a href="/admin/blogs/{{.ID}}">{{.Title}}</a>{{if not .Visible}} <small>(Not published)</small>{{end}}</h3>
|
|
|
|
|
<p class="meta">
|
2025-11-08 12:54:31 +00:00
|
|
|
<span class="author"><img src="/img/favicon.png" alt="" width="32" height="32"/> {{.Author.DisplayName}}</span>
|
2025-11-07 01:04:10 +00:00
|
|
|
<span class="date">• {{.PrintDate}}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="description">{{.Description}}</p>
|
|
|
|
|
<div class="actions">
|
|
|
|
|
<a href="/admin/blogs/{{.ID}}">Edit</a>
|
|
|
|
|
<a href="/blog/{{.ID}}">View</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{end}}
|