aboutsummaryrefslogtreecommitdiff
path: root/ui/html/pages
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-11-24 00:38:12 -0500
committerSamuel Johnson <[email protected]>2025-11-24 00:38:12 -0500
commit177663c73f3d708120b975a74eebd0951177a53b (patch)
tree9629bfced318c645496a31cc7844c7840605113c /ui/html/pages
parent1692aea0951f1d46af01211bd3e32920c443505f (diff)
Add blog posts to front page
Diffstat (limited to 'ui/html/pages')
-rw-r--r--ui/html/pages/index.tmpl.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/html/pages/index.tmpl.html b/ui/html/pages/index.tmpl.html
index 46a58e8..ec98623 100644
--- a/ui/html/pages/index.tmpl.html
+++ b/ui/html/pages/index.tmpl.html
@@ -3,4 +3,12 @@
{{define "main"}}
<h2>Blog</h2>
<p>Home of {{.Name}}</p>
+ {{range .Rows}}
+ <div class="card">
+ <div class="header">
+ <h4><b>{{.Name}} - {{.Time}}</b></h4>
+ {{.Content}}
+ </div>
+ </div>
+ {{end}}
{{end}}