mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-02 23:59:51 -04:00
(lint) remove unnecessary whitespace
created by hugo's {{ }}
This commit is contained in:
parent
2cb5c9dad5
commit
016dd6e9fa
14 changed files with 118 additions and 116 deletions
|
@ -5,13 +5,12 @@
|
|||
{{- partial "head.html" . }}
|
||||
</head>
|
||||
|
||||
<body
|
||||
class="{{ if (and (eq .Kind `page` ) (ne .Layout `archives`)) }}single{{ else }}list{{ if .IsHome }} home {{ end }}{{ end }}{{ if eq $.Site.Params.defaultTheme `dark` }} dark {{ end }}"
|
||||
id="top">
|
||||
<body class="{{ if (and (eq .Kind `page` ) (ne .Layout `archives`)) }}single{{ else }}list
|
||||
{{- if .IsHome }} home{{ end }}{{ end }}{{- if eq $.Site.Params.defaultTheme `dark` }} dark{{ end }}" id="top">
|
||||
{{- partialCached "header.html" . .Page}}
|
||||
<main class="main">
|
||||
{{- block "main" . }}
|
||||
{{end }}
|
||||
{{- end }}
|
||||
</main>
|
||||
{{- partialCached "footer.html" . .Type }}
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue