all repos — honk @ v0.7.2

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