bidet

commit 3223ddc4b9194e17026f6a7762fb2c76ae9e3e0f

tree

parent:
26a47565ffd9864067443fb09fb902ddcb950790

nmyk <nick@nmyk.io>

2026-04-22T17:44:15-04:00

use some smaller headers

diff --git a/internal/handlers/templates/commit.tmpl b/internal/handlers/templates/commit.tmpl
index 1d3d2f3a013decced66950118541fa717b713a91..12bef0b70a55742386b7733b6a64f29936e4ab30 100644
--- a/internal/handlers/templates/commit.tmpl
+++ b/internal/handlers/templates/commit.tmpl
@@ -1,7 +1,7 @@
 {{define "title"}}{{.Repo}} @ {{.Hash}}{{end}}
 {{define "content"}}
 <h1><a href="/{{.Repo}}">{{.Repo}}</a></h1>
-<h3>commit {{.Hash}}</h3>
+<h4>commit {{.Hash}}</h4>
 <p><a href="/{{.Repo}}/tree/{{.Hash}}">tree</a></p>
     <p>{{ if gt (len .Parents) 0 }}parent{{ if gt (len .Parents) 1 }}s{{end}}:{{end}}
     {{ range .Parents }}
diff --git a/internal/handlers/templates/commits.tmpl b/internal/handlers/templates/commits.tmpl
index 11e62b2bd727fff51994ff8d856daae4ea03310c..0b9e701cbd6072ed59286fb7c2bdd33416eabc1a 100644
--- a/internal/handlers/templates/commits.tmpl
+++ b/internal/handlers/templates/commits.tmpl
@@ -13,14 +13,14 @@ <p>@ {{.RefLabel}} | <a href="/{{.Repo}}/refs">refs</a></p>
 {{- end -}}
 <h2>commits</h2>
 {{- if ne .Crumbs nil -}}
-<h3>history for {{range $i, $c := .Crumbs}}
+<h4>history for {{range $i, $c := .Crumbs}}
   {{if $i}} / {{end}}
   {{if eq $i (sub (len $.Crumbs) 1)}}
     {{$c.Name}}
   {{else}}
     <a href="/{{$c.URL}}">{{$c.Name}}</a>
   {{end}}
-{{end}} @ <a href="/{{.Repo}}/tree/{{.RefLabel}}">{{.RefLabel}}</a></h3>
+{{end}} @ <a href="/{{.Repo}}/tree/{{.RefLabel}}">{{.RefLabel}}</a></h4>
 {{- end -}}
 {{ range .Commits }}
     <p><a href="/{{$.Repo}}/commit/{{.Hash}}">{{.Hash}}</a></p>