mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-10-30 01:26:32 +00:00
17 lines
453 B
HTML
17 lines
453 B
HTML
{{define "view"}}
|
|
<main class="flex flex-col items-center justify-center p-8">
|
|
<div class="mb-4">You are now viewing the {{.Title}}</div>
|
|
<h2>Top Ten Most Recent Events</h2>
|
|
<ul>
|
|
{{range .Events}}
|
|
<li>
|
|
<strong>ID:</strong> {{.ID}}<br />
|
|
<strong>Content:</strong> {{.Content}}<br />
|
|
<strong>Created At:</strong> {{.CreatedAt}}<br />
|
|
<strong>PubKey:</strong> {{.PubKey}}
|
|
</li>
|
|
{{end}}
|
|
</ul>
|
|
</main>
|
|
{{end}}
|