wrap up userabout in srvmsg so it gets replaced
This commit is contained in:
parent
569c7018c4
commit
3d73326072
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue