highlight website title while on home page and a css cleanup
This commit is contained in:
parent
62ba31ee46
commit
682bd57e91
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
</head>
|
||||
<body>
|
||||
{{- partial "nav.html" . -}}
|
||||
<main id="main">
|
||||
<main>
|
||||
{{- block "main" . }}{{ end -}}
|
||||
</main>
|
||||
{{- partial "footer.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 -}}
|
||||
|
|
Loading…
Add table
Reference in a new issue