wrap up userabout in srvmsg so it gets replaced

This commit is contained in:
Ted Unangst 2019-11-03 21:09:03 -05:00
parent 569c7018c4
commit 3d73326072
1 changed files with 3 additions and 1 deletions

View File

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