summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-23 12:52:32 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-23 12:52:32 +0530
commit016dd6e9fae2cff965753c0fe865e11a58018101 (patch)
tree8ee6d6ff897612d29d0e0756dddd80b7e6cf5c4d /layouts/_default/baseof.html
parent2cb5c9dad5b176fa03ebe72b04c0cd0f63100343 (diff)
(lint) remove unnecessary whitespace
created by hugo's {{ }}
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 7253249..6deb9a9 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -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>