all repos — honk @ b9c05569bd00fd1f10242f4ea3b1ceac7fff348a

my fork of honk

views/header.html (view raw)

 1<!doctype html>
 2<html>
 3<head>
 4<title>honk</title>
 5<link href="/style.css{{ .StyleParam }}" rel="stylesheet">
 6{{ if .LocalStyleParam }}
 7<link href="/local.css{{ .LocalStyleParam }}" rel="stylesheet">
 8{{ end }}
 9<style>
10{{ .UserStyle }}
11</style>
12<link href="/icon.png" rel="icon">
13<meta name="theme-color" content="#305">
14<meta name="viewport" content="width=device-width">
15</head>
16<body>
17<header>
18{{ if .UserInfo }}
19<details>
20<summary>menu</summary>
21<p>
22<ul>
23<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a>
24<li><a href="/honkers">honkers</a>
25<li>combos
26<ul>
27{{ range .Combos }}
28<li><a href="/c/{{ . }}">{{ . }}</a>
29{{ end }}
30</ul>
31<li><a href="/o">tags</a>
32<li><a href="/about">about</a>
33<li><a href="/front">front</a>
34<li><a href="/xzone">xzone</a>
35<li><a href="/zonkzone">zonkzone</a>
36<li><a href="/funzone">funzone</a>
37<li><a href="/account">account</a>
38<li>
39<form action="/q" method="GET">
40<input type="text" name="q" autocomplete=off size=10 placeholder="search">
41</form>
42</ul>
43</details>
44<p>
45<span><a id="homelink" href="/">home</a></span>
46<span><a id="atmelink" href="/atme">@me</a></span>
47{{ else }}
48<span><a id="homelink" href="/">home</a></span>
49<span><a href="/about">about</a></span>
50{{ if .ShowRSS }}
51<span><a href="/rss">rss</a></span>
52{{ end }}
53<span><a href="/login">login</a></span>
54{{ end }}
55</header>