all repos — honk @ 37ea6d36a1e0ba60838bd0f06c525ecded2bf3eb

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<link href="/icon.png" rel="icon">
 7</head>
 8<body>
 9<div class="header">
10<span><a href="/">honk</a></span>
11{{ if .ShowRSS }}
12<span><a href="/rss">rss</a></span>
13{{ end }}
14{{ if .UserInfo }}
15<span><a href="/u/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a></span>
16<span><a href="/honkers">honkers</a></span>
17<span><a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a></span>
18{{ else }}
19<span><a href="/login">login</a></span>
20{{ end }}
21</div>