all repos — honk @ 12e1deac71cc9338bc2adb90740bd86685f09391

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=720px, initial-scale=0.4">
11</head>
12<body>
13<div class="header">
14<span><a href="/">honk</a></span>
15{{ if .ShowRSS }}
16<span><a href="/rss">rss</a></span>
17{{ end }}
18{{ if .UserInfo }}
19<span><a href="/u/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
20<span><a href="/honkers">honkers</a></span>
21<span><a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a></span>
22{{ else }}
23<span><a href="/login">login</a></span>
24{{ end }}
25</div>