all repos — honk @ 9a6e94328b7510fb177a24f64e49a8685f5e8cbd

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>