all repos — honk @ ed9844170763dcc24e6b8d89a5a630bd682780c4

my fork of honk

wrap up userabout in srvmsg so it gets replaced
Ted Unangst tedu@tedunangst.com
Sun, 03 Nov 2019 21:09:03 -0500
commit

ed9844170763dcc24e6b8d89a5a630bd682780c4

parent

4122d9525c5e007a3543a9d993ae77b910520634

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M views/honkpage.htmlviews/honkpage.html

@@ -1,11 +1,13 @@

{{ template "header.html" . }} <main> <div class="info" id="infobox"> +<div id="srvmsg"> {{ if .Name }} <p>{{ .Name }} <span style="margin-left:1em;"><a href="/u/{{ .Name }}/rss">rss</a></span> <p>{{ .WhatAbout }} {{ end }} -<div id="srvmsg"><p>{{ .ServerMessage }}</div> +<p>{{ .ServerMessage }} +</div> {{ if .HonkCSRF }} {{ template "honkform.html" . }} {{ end }}