mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36: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.
9 lines
285 B
HTML
9 lines
285 B
HTML
<li class="post-item">
|
|
<span class="meta">{{ .Date.Format .Site.Params.dateform }}</span>
|
|
{{ if .Params.draft }}
|
|
<a href="{{ .Permalink }}"><span>Draft::{{ .Title }}</span></a>
|
|
{{ else }}
|
|
<a href="{{ .Permalink }}"><span>{{ .Title }}</span></a>
|
|
{{ end }}
|
|
</li>
|