add condition
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vri 🌈 2023-05-17 13:20:19 +02:00
parent 83590f56b6
commit 014d970ffd
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -8,7 +8,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body id="{{ .File.ContentBaseName }}" class="{{ .Page.Section }}">
<body id="{{ with .File }}{{ .ContentBaseName }}{{ end }}" class="{{ .Page.Section }}">
{{- block "header" . }}{{ end }}
{{ partial "sidebar.html" . }}
{{- block "main" . }}{{ end }}