27 lines
755 B
HTML
27 lines
755 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>honk</title>
|
|
<link href="/style.css{{ .StyleParam }}" rel="stylesheet">
|
|
{{ if .LocalStyleParam }}
|
|
<link href="/local.css{{ .LocalStyleParam }}" rel="stylesheet">
|
|
{{ end }}
|
|
<link href="/icon.png" rel="icon">
|
|
<meta name="viewport" content="width=720px, initial-scale=0.4">
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<span><a href="/">honk</a></span>
|
|
{{ if .UserInfo }}
|
|
<span><a href="/atme">@me</a></span>
|
|
<span><a href="/u/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
|
|
<span><a href="/honkers">honkers</a></span>
|
|
<span><a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a></span>
|
|
{{ else }}
|
|
<span><a href="/login">login</a></span>
|
|
{{ end }}
|
|
{{ if .ShowRSS }}
|
|
<span><a href="/rss">rss</a></span>
|
|
{{ end }}
|
|
</div>
|