all repos — honk @ b43a082fc8b506d304041f87161ded5f6d335181

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><a href="/c">combos</a>
26<li><a href="/o">tags</a>
27<li><a href="/about">about</a>
28<li><a href="/front">front</a>
29<li><a href="/xzone">xzone</a>
30<li><a href="/zonkzone">zonkzone</a>
31<li><a href="/funzone">funzone</a>
32<li><a href="/account">account</a>
33<li>
34<form action="/q" method="GET">
35<input type="text" name="q" autocomplete=off size=10 placeholder="search">
36</form>
37</ul>
38</details>
39<p>
40<span><a id="homelink" href="/">home</a></span>
41<span><a id="atmelink" href="/atme">@me</a></span>
42{{ else }}
43<span><a id="homelink" href="/">home</a></span>
44<span><a href="/about">about</a></span>
45{{ if .ShowRSS }}
46<span><a href="/rss">rss</a></span>
47{{ end }}
48<span><a href="/login">login</a></span>
49{{ end }}
50</header>