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