aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/base.css2
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/partials/nav.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/assets/base.css b/assets/base.css
index e0e80aa..4c5ed7f 100644
--- a/assets/base.css
+++ b/assets/base.css
@@ -13,7 +13,7 @@ body {
font-feature-settings: "kern" 1;
font-kerning: normal;
}
-#main {
+main {
padding-left:1em;
padding-right:1em;
scrollbar-gutter: stable both-edges;
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 5faf4e4..05345a3 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -27,7 +27,7 @@
</head>
<body>
{{- partial "nav.html" . -}}
- <main id="main">
+ <main>
{{- block "main" . }}{{ end -}}
</main>
{{- partial "footer.html" . -}}
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index eeec5f2..1020c03 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -1,7 +1,7 @@
<header>
<nav>
<ul>
- <li class="nav-menu-title"><a href="/">{{ .Site.Title }}</a></li>
+ <li class="nav-menu-title{{if .IsHome}} nav-menu-active{{end}}"><a href="/">{{ .Site.Title }}</a></li>
{{- $p := . -}}
{{- range first 1 .Site.Menus.main.ByWeight -}}