diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-24 07:10:06 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-24 18:45:20 +0700 |
| commit | ca3c34e362d36d71e04e35aa9a4e9147f3cccb3f (patch) | |
| tree | baa628129f59db01832f27f14b7e398c7b00a08e /_static/index.gohtml | |
| parent | 94d78cae118b40852bab76b8c5ec1e46226cb4ef (diff) | |
| download | ciigo-ca3c34e362d36d71e04e35aa9a4e9147f3cccb3f.tar.xz | |
_static: simplify the topbar section
Instead of splitting the topbar into top-heading and menu,
breaking it down by class item.
Diffstat (limited to '_static/index.gohtml')
| -rw-r--r-- | _static/index.gohtml | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/_static/index.gohtml b/_static/index.gohtml index decb66c..6b550d1 100644 --- a/_static/index.gohtml +++ b/_static/index.gohtml @@ -3,46 +3,36 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="theme-color" content="#375EAB"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> {{- range $k, $v := .Metadata}} - <meta name="{{$k}}" content="{{$v}}"> -{{- end}} + <meta name="{{ $k }}" content="{{ $v }}" /> +{{- end }} <title>{{.Title}}</title> {{- if ne .EmbeddedCSS ""}} <style> - {{.EmbeddedCSS}} +{{.EmbeddedCSS}} </style> -{{- end}} -{{- range .Styles}} - <link rel="stylesheet" href="{{.}}"> -{{- end}} +{{- end }} +{{- range.Styles }} + <link rel="stylesheet" href="{{.}}" /> +{{- end }} </head> <body> <div class="topbar"> - <div class="container"> - <div class="top-heading"> - <a href="/">{{.Title}}</a> - </div> - <div class="menu"> - <form class="item" action="/_internal/search"> - <input type="text" name="q" placeholder="Search" /> - </form> - </div> - </div> + <a class="item title" href="/">{{.Title}}</a> + <form class="item" action="/_internal/search"> + <input type="text" name="q" placeholder="Search" /> + </form> </div> + <div class="page"> <div class="container"> {{.Body}} </div> </div> <div class="footer"> - Powered by <a - href="https://git.sr.ht/~shulhan/ciigo" - > - ciigo - </a> + Powered by <a href="https://git.sr.ht/~shulhan/ciigo"> ciigo </a> </div> </body> </html> |
