diff options
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> |
