Fix "suspended" message location on Drafts

Previously it was above the header.

Ref T661
This commit is contained in:
Matt Baer 2019-11-07 17:09:43 +09:00
parent 280c32afdc
commit 619b10c3e5
1 changed files with 4 additions and 4 deletions

View File

@ -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>