all repos — honk @ 30e1f606f1c5ab61d146ccc14d44f7f7570f3f8b

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 id="topmenu">
20<summary>menu</summary>
21<p>
22<ul>
23<li><a id="firstlink" href="/first">first</a>
24<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a>
25<li><a href="/honkers">honkers</a>
26<li style="list-style-type:none; margin-left:-1em">
27<details>
28<summary>combos</summary>
29<ul>
30{{ range .Combos }}
31<li><a class="combolink" href="/c/{{ . }}">{{ . }}</a>
32{{ end }}
33</ul>
34</details>
35<li><a href="/o">tags</a>
36<li><a href="/about">about</a>
37<li><a href="/front">front</a>
38<li><a href="/xzone">xzone</a>
39<li><a href="/zonkzone">zonkzone</a>
40<li><a href="/funzone">funzone</a>
41<li><a href="/account">account</a>
42<li>
43<form action="/q" method="GET">
44<input type="text" name="q" autocomplete=off size=10 placeholder="search">
45</form>
46</ul>
47</details>
48<p>
49<span><a id="homelink" href="/">home</a></span>
50<span><a id="atmelink" href="/atme">@me</a></span>
51{{ else }}
52<span><a id="homelink" href="/">home</a></span>
53<span><a href="/about">about</a></span>
54{{ if .ShowRSS }}
55<span><a href="/rss">rss</a></span>
56{{ end }}
57<span><a href="/login">login</a></span>
58{{ end }}
59</header>