honk/views/header.html

41 lines
1.1 KiB
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-06-28 04:36:55 +02:00
<style>
{{ .UserStyle }}
</style>
2019-04-09 13:59:33 +02:00
<link href="/icon.png" rel="icon">
<meta name="theme-color" content="#305">
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-09-13 19:54:29 +02:00
<span><a id="homelink" href="/">home</a></span>
2019-04-09 13:59:33 +02:00
{{ if .UserInfo }}
<span><a id="atmelink" href="/atme">@me</a></span>
<span><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
2019-04-09 13:59:33 +02:00
<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>
2019-06-24 04:43:47 +02:00
<span><a href="/about">about</a></span>
<span><a href="/front">front</a></span>
<span><a href="/xzone">xzone</a></span>
2019-06-02 04:58:46 +02:00
<span><a href="/zonkzone">zonkzone</a></span>
2019-06-24 06:31:34 +02:00
<span><a href="/funzone">funzone</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>