diff options
| author | Samuel Johnson <[email protected]> | 2025-11-24 01:36:18 -0500 |
|---|---|---|
| committer | Samuel Johnson <[email protected]> | 2025-11-24 01:36:18 -0500 |
| commit | 384a590b5462883d714bc1682e4d81d6321b2b12 (patch) | |
| tree | 01d3ed55448948a2fe162b7209f0f2211770c9fb /ui/html | |
| parent | 177663c73f3d708120b975a74eebd0951177a53b (diff) | |
Improve page layout, add navbar
Diffstat (limited to 'ui/html')
| -rw-r--r-- | ui/html/base.tmpl.html | 5 | ||||
| -rw-r--r-- | ui/html/pages/index.tmpl.html | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/ui/html/base.tmpl.html b/ui/html/base.tmpl.html index fe33ec4..dda949b 100644 --- a/ui/html/base.tmpl.html +++ b/ui/html/base.tmpl.html @@ -17,6 +17,11 @@ <div class="pane"> <header> <h1>Paterissa</h1> + <nav> + <a href="https://git.paterissa.net">Git</a> + <a href="https://starless.paterissa.net">Starless</a> + <a href="https://charts.paterissa.net">Parliament Builder</a> + </nav> </header> <hr> <main class="inner_pane"> diff --git a/ui/html/pages/index.tmpl.html b/ui/html/pages/index.tmpl.html index ec98623..78c2bb2 100644 --- a/ui/html/pages/index.tmpl.html +++ b/ui/html/pages/index.tmpl.html @@ -1,14 +1,16 @@ {{define "title"}}Blog{{end}} {{define "main"}} - <h2>Blog</h2> - <p>Home of {{.Name}}</p> + <div class="topline"> + <h2>Blog</h2> + <p>Home of {{.Name}}</p> + </div> {{range .Rows}} <div class="card"> <div class="header"> <h4><b>{{.Name}} - {{.Time}}</b></h4> - {{.Content}} </div> + {{.Content}} </div> {{end}} {{end}} |
