mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-01 07:18:25 -04:00
add [draft] mark
- to identify drafts from other posts
This commit is contained in:
parent
523098f87e
commit
d005d7d2bb
4 changed files with 19 additions and 4 deletions
|
@ -2,7 +2,10 @@
|
|||
|
||||
<article class="post-single">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<h1 class="post-title">
|
||||
{{ .Title }}
|
||||
<div class="entry-isdraft">{{- if .Draft }}<sup>[draft]</sup>{{- end }}</div>
|
||||
</h1>
|
||||
<div class="post-meta">
|
||||
{{- if or .Params.author .Site.Params.author }}
|
||||
{{- .Params.author | default .Site.Params.author }} · {{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue