mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-11 13:22:44 +02:00
update layouts: draft tag; remove redundant code
This commit is contained in:
parent
1dc5f0c3d3
commit
46406fda64
5 changed files with 21 additions and 25 deletions
layouts/partials
|
@ -1,6 +1,6 @@
|
|||
<section>
|
||||
<h1 class="content-title">
|
||||
{{- .Title -}}{{- if .Draft -}} :: Draft {{- end -}}
|
||||
{{- .Title -}}{{- if .Draft -}} :: Draft{{- end -}}
|
||||
</h1>
|
||||
{{- if .Params.subtitle -}}
|
||||
<p class=subtitle>{{ .Params.subtitle }}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue