Added a page-specific CSS class on <body>

This commit is contained in:
2021-12-19 11:17:21 +01:00
parent 8a5e1a54c0
commit 1f099d4d53
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
<link rel="stylesheet" href="/assets/theme-dark.css">
</head>
<body>
<body {{ if .Page.Name }}class="page-{{ .Page.Name }}"{{ end }}>
<nav>
<!-- Site -->
<div class="nav-logo">