Use .Draft instead of .IsDraft -- the latter is deprecated now
This commit is contained in:
parent
ab7c6df152
commit
68e2f6e0ac
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
{{ if in (.Site.BaseURL | string) "localhost" }}
|
||||
{{ if .IsDraft }}<span class="draft">draft</span>{{ end }}
|
||||
{{ if .Draft }}<span class="draft">draft</span>{{ end }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue