mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 10:31:39 +01:00
draft tag [draft]
improve
This commit is contained in:
parent
c4839ccfbe
commit
94eada156d
@ -24,7 +24,7 @@
|
||||
<header class="entry-header">
|
||||
<h2>
|
||||
{{ .Title }}
|
||||
<div class="entry-isdraft">{{- if .Draft }}<sup>  [draft]</sup>{{- end }}</div>
|
||||
{{- if .Draft }}<div class="entry-isdraft"><sup>  [draft]</sup></div>{{- end }}
|
||||
</h2>
|
||||
</header>
|
||||
<section class="entry-content">
|
||||
|
@ -19,7 +19,7 @@
|
||||
<header class="entry-header">
|
||||
<h2>
|
||||
{{ .Title }}
|
||||
<div class="entry-isdraft">{{- if .Draft }}<sup>  [draft]</sup>{{- end }}</div>
|
||||
{{- if .Draft }}<div class="entry-isdraft"><sup>  [draft]</sup></div>{{- end }}
|
||||
</h2>
|
||||
</header>
|
||||
<section class="entry-content">
|
||||
|
@ -4,7 +4,7 @@
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">
|
||||
{{ .Title }}
|
||||
<div class="entry-isdraft">{{- if .Draft }}<sup>[draft]</sup>{{- end }}</div>
|
||||
{{- if .Draft }}<div class="entry-isdraft"><sup> [draft]</sup></div>{{- end }}
|
||||
</h1>
|
||||
<div class="post-meta">
|
||||
{{- if or .Params.author .Site.Params.author }}
|
||||
|
Loading…
Reference in New Issue
Block a user