mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00

This makes it easier to see what a blog will look like when it's published, and decreases the possibility of confusion when trying to publish a post.
12 lines
203 B
HTML
12 lines
203 B
HTML
<div class="page-heading">
|
|
{{ if .Params.heading }}
|
|
{{ .Params.heading }}
|
|
{{ else }}
|
|
{{ if .Params.draft }}
|
|
Draft::{{ .Title }}
|
|
{{ else }}
|
|
{{ .Title }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|