all repos — honk @ 85aa13c31a3299ecf4d046b2a0475ba5176057f5

my fork of honk

views/honkpage.html (view raw)

 1{{ template "header.html" . }}
 2<div class="center">
 3{{ if .Name }}
 4<div class="info">
 5<p>{{ .Name }} <span style="margin-left:1em;"><a href="/u/{{ .Name }}/rss">rss</a></span>
 6{{ if .HonkCSRF }}
 7<div>
 8<form id="aboutform" action="/saveuser" method="POST">
 9<input type="hidden" name="CSRF" value="{{ .UserCSRF }}">
10<textarea name="whatabout">{{ .RawWhatAbout }}</textarea>
11<p>
12<input type="submit" value="update">
13</form>
14</div>
15{{ else }}
16<p>{{ .WhatAbout }}
17{{ end }}
18</div>
19{{ end }}
20<div>
21{{ range .Honks }}
22{{ template "honk.html" map "Honk" . }}
23{{ end }}
24</div>