all repos — honk @ f51596b6f2f7798c58c40ef5186b02168f439445

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<span><a id="homelink" href="/">home</a></span>
19{{ if .UserInfo }}
20<span><a id="atmelink" href="/atme">@me</a></span>
21<span><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
22<span><a href="/honkers">honkers</a></span>
23<span><a href="/c">combos</a></span>
24<details>
25<summary>more</summary>
26<span><a href="/about">about</a></span>
27<span><a href="/front">front</a></span>
28<span><a href="/xzone">xzone</a></span>
29<span><a href="/zonkzone">zonkzone</a></span>
30<span><a href="/funzone">funzone</a></span>
31<span><a href="/account">account</a></span>
32</details>
33{{ else }}
34<span><a href="/about">about</a></span>
35{{ if .ShowRSS }}
36<span><a href="/rss">rss</a></span>
37{{ end }}
38<span><a href="/login">login</a></span>
39{{ end }}
40</header>