honk/views/header.html

34 lines
921 B
HTML
Raw Normal View History

2019-04-09 13:59:33 +02:00
<!doctype html>
<html>
<head>
<title>honk</title>
<link href="/style.css{{ .StyleParam }}" rel="stylesheet">
{{ if .LocalStyleParam }}
<link href="/local.css{{ .LocalStyleParam }}" rel="stylesheet">
{{ end }}
2019-04-09 13:59:33 +02:00
<link href="/icon.png" rel="icon">
2019-04-21 03:55:23 +02:00
<meta name="viewport" content="width=device-width">
2019-04-09 13:59:33 +02:00
</head>
<body>
2019-04-29 01:16:24 +02:00
<header>
2019-04-09 13:59:33 +02:00
<span><a href="/">honk</a></span>
{{ if .UserInfo }}
2019-04-20 17:17:00 +02:00
<span><a href="/atme">@me</a></span>
2019-04-09 13:59:33 +02:00
<span><a href="/u/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
<span><a href="/honkers">honkers</a></span>
2019-05-01 00:48:13 +02:00
<span><a href="/c">combos</a></span>
<details>
<summary>more</summary>
<span><a href="/xzone">xzone</a></span>
2019-06-02 04:58:46 +02:00
<span><a href="/zonkzone">zonkzone</a></span>
<span><a href="/account">account</a></span>
</details>
2019-04-09 13:59:33 +02:00
{{ else }}
2019-06-08 21:31:00 +02:00
<span><a href="/about">about</a></span>
2019-05-26 22:05:59 +02:00
{{ if .ShowRSS }}
<span><a href="/rss">rss</a></span>
{{ end }}
2019-04-09 13:59:33 +02:00
<span><a href="/login">login</a></span>
{{ end }}
2019-04-29 01:16:24 +02:00
</header>