all repos — honk @ b870462dc7d91904f2966e226bec9e0ca641a2a9

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="viewport" content="width=device-width">
14</head>
15<body>
16<header>
17<span><a href="/">honk</a></span>
18{{ if .UserInfo }}
19<span><a href="/atme">@me</a></span>
20<span><a href="/u/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
21<span><a href="/honkers">honkers</a></span>
22<span><a href="/c">combos</a></span>
23<details>
24<summary>more</summary>
25<span><a href="/about">about</a></span>
26<span><a href="/front">front</a></span>
27<span><a href="/xzone">xzone</a></span>
28<span><a href="/zonkzone">zonkzone</a></span>
29<span><a href="/funzone">funzone</a></span>
30<span><a href="/account">account</a></span>
31</details>
32{{ else }}
33<span><a href="/about">about</a></span>
34{{ if .ShowRSS }}
35<span><a href="/rss">rss</a></span>
36{{ end }}
37<span><a href="/login">login</a></span>
38{{ end }}
39</header>