theme: Link new "random notes" in navbar
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
8a3e84ab73
commit
e6864e2ef8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue