Super simple navbar for going back hom ein list page

This commit is contained in:
shockrah 2023-09-24 15:49:10 -07:00
parent d14a97af7a
commit 4ef8dee4cf
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{{ define "main" }} {{ define "main" }}
{{ partial "minimal-navbar.html" }}
{{ $colors := slice "cyan" "yellow" "pink"}} {{ $colors := slice "cyan" "yellow" "pink"}}
{{ $opts := len $colors }} {{ $opts := len $colors }}
{{ range $i, $page := .Pages.ByDate.Reverse }} {{ range $i, $page := .Pages.ByDate.Reverse }}

View File

@ -0,0 +1,6 @@
<nav class="navbar sticky-top">
<a class="navbar-brand" href="/">
<img src="/img/favicon.png" width="30" height="30" alt="main logo">
Temper.tv
</a>
</nav>