all repos — honk @ bb60ab12011ce8c5ed92e3bd36a5ec7b9305a978

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>