all repos — honk @ 647c846225285633b42eb5af0f24ebf921e2780c

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