list, index : draft : show some space before [draft]

This commit is contained in:
Aditya Telange 2020-07-26 19:19:52 +05:30
parent fff89a4e30
commit 06c52025dc
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
<header class="entry-header">
<h2>
{{ .Title }}
<div class="entry-isdraft">{{- if .Draft }}<sup>[draft]</sup>{{- end }}</div>
<div class="entry-isdraft">{{- if .Draft }}<sup>&nbsp&nbsp[draft]</sup>{{- end }}</div>
</h2>
</header>
<section class="entry-content">

View File

@ -19,7 +19,7 @@
<header class="entry-header">
<h2>
{{ .Title }}
<div class="entry-isdraft">{{- if .Draft }}<sup>[draft]</sup>{{- end }}</div>
<div class="entry-isdraft">{{- if .Draft }}<sup>&nbsp&nbsp[draft]</sup>{{- end }}</div>
</h2>
</header>
<section class="entry-content">