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-feature-settings: "kern" 1;
|
||||||
font-kerning: normal;
|
font-kerning: normal;
|
||||||
}
|
}
|
||||||
#main {
|
main {
|
||||||
padding-left:1em;
|
padding-left:1em;
|
||||||
padding-right:1em;
|
padding-right:1em;
|
||||||
scrollbar-gutter: stable both-edges;
|
scrollbar-gutter: stable both-edges;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{- partial "nav.html" . -}}
|
{{- partial "nav.html" . -}}
|
||||||
<main id="main">
|
<main>
|
||||||
{{- block "main" . }}{{ end -}}
|
{{- block "main" . }}{{ end -}}
|
||||||
</main>
|
</main>
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<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 := . -}}
|
{{- $p := . -}}
|
||||||
|
|
||||||
{{- range first 1 .Site.Menus.main.ByWeight -}}
|
{{- range first 1 .Site.Menus.main.ByWeight -}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue