all repos — honk @ 7e2ef0645e92b675498e7a335dc3aaa60443d560

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></span>
24<li><a href="/honkers">honkers</a></span>
25<li><a href="/c">combos</a></span>
26<li><a href="/about">about</a></span>
27<li><a href="/front">front</a></span>
28<li><a href="/xzone">xzone</a></span>
29<li><a href="/zonkzone">zonkzone</a></span>
30<li><a href="/funzone">funzone</a></span>
31<li><a href="/account">account</a></span>
32</details>
33<p>
34<span><a id="homelink" href="/">home</a></span>
35<span><a id="atmelink" href="/atme">@me</a></span>
36{{ else }}
37<span><a id="homelink" href="/">home</a></span>
38<span><a href="/about">about</a></span>
39{{ if .ShowRSS }}
40<span><a href="/rss">rss</a></span>
41{{ end }}
42<span><a href="/login">login</a></span>
43{{ end }}
44</header>