Add better id/class identifier

This commit is contained in:
Vri 🌈 2023-01-15 00:36:31 +01:00
parent aa106280af
commit 2d0fd72dcf
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="{{ .Page.Title }}">
<body id="{{ .File.ContentBaseName }}" class="{{ .Page.Section }}">
{{- block "header" . }}{{ end }}
{{ partial "sidebar.html" . }}
{{- block "main" . }}{{ end }}