mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-02 23:59:51 -04:00
Refine [draft]
tag display
This commit is contained in:
parent
9a20b2e54c
commit
7072a79f71
4 changed files with 3 additions and 7 deletions
|
@ -54,7 +54,7 @@
|
|||
<header class="entry-header">
|
||||
<h2>
|
||||
{{- .Title }}
|
||||
{{- if .Draft }}<div class="entry-isdraft"><sup> [draft]</sup></div>{{ end -}}
|
||||
{{- if .Draft }}<sup><span class="entry-isdraft"> [draft]</span></sup>{{- end }}
|
||||
</h2>
|
||||
</header>
|
||||
{{- if (ne (.Param "hideSummary") true) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue