Fix "suspended" message location on Drafts

Previously it was above the header.

Ref T661
pull/174/head
Matt Baer 5 years ago
parent 280c32afdc
commit 619b10c3e5
  1. 8
      templates/post.tmpl

@ -35,10 +35,6 @@
{{template "highlighting" .}}
</head>
<body id="post">
{{if .Suspended}}
{{template "user-suspended"}}
{{end}}
<header>
<h1 dir="{{.Direction}}"><a href="/">{{.SiteName}}</a></h1>
<nav>
@ -52,6 +48,10 @@
{{ end }}
</nav>
</header>
{{if .Suspended}}
{{template "user-suspended"}}
{{end}}
<article class="{{.Font}} h-entry">{{if .Title}}<h2 id="title" class="p-name">{{.Title}}</h2>{{end}}{{ if .IsPlainText }}<p id="post-body" class="e-content">{{.Content}}</p>{{ else }}<div id="post-body" class="e-content">{{.HTMLContent}}</div>{{ end }}</article>

Loading…
Cancel
Save