honk/views/header.html

45 lines
1.2 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-04-09 13:59:33 +02:00
{{ if .UserInfo }}
<details>
<summary>menu</summary>
<p>
<ul>
<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
<li><a href="/honkers">honkers</a></span>
<li><a href="/c">combos</a></span>
<li><a href="/about">about</a></span>
<li><a href="/front">front</a></span>
<li><a href="/xzone">xzone</a></span>
<li><a href="/zonkzone">zonkzone</a></span>
<li><a href="/funzone">funzone</a></span>
<li><a href="/account">account</a></span>
</details>
<p>
<span><a id="homelink" href="/">home</a></span>
<span><a id="atmelink" href="/atme">@me</a></span>
2019-04-09 13:59:33 +02:00
{{ else }}
<span><a id="homelink" href="/">home</a></span>
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>