theme: Link new "random notes" in navbar

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2023-10-17 23:53:26 +02:00
parent 8a3e84ab73
commit e6864e2ef8
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A
2 changed files with 5 additions and 5 deletions

View file

@ -80,12 +80,12 @@ main {
header {
ul {
list-style-type: "";
margin: 0;
margin: 0 0 0.1em 0;
}
nav {
display: flex;
align-items: baseline;
align-items: end;
justify-content: space-between;
}

View file

@ -6,12 +6,12 @@
<li>
<a href="/">back home</a>
</li>
{{ end }} {{ range .Pages }}
{{ end }} {{ if ne .Page.Title "random notes" }}
<li>
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
<a href="/notes">random notes</a>
</li>
{{ end }}
</ul>
{{ end }}
</nav>
<hr />
{{ with .Params.subheading }} {{ . }} {{ else }} {{ .Description }} {{ end }}