make title and logo link to home
This commit is contained in:
parent
de07aa3aed
commit
92861a3b56
|
@ -165,6 +165,12 @@ a {
|
|||
@include linkLike;
|
||||
}
|
||||
|
||||
a.unstyledLink {
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
color: var(--default_fg);
|
||||
}
|
||||
|
||||
@mixin limitWidth {
|
||||
max-width: $content_width;
|
||||
margin-left: auto;
|
||||
|
|
|
@ -2,10 +2,14 @@
|
|||
{{- partial "inject/header-before.html" . -}}
|
||||
<div class="titleAndSearchContainer">
|
||||
<div id="titleContainer">
|
||||
<img src='{{ .Site.Params.Logo | default "/logo.svg" }}' />
|
||||
<a class="unstyledLink" href="/">
|
||||
<img src='{{ .Site.Params.Logo | default "/logo.svg" }}' />
|
||||
</a>
|
||||
<div class="rightOfLogo">
|
||||
<div class="titleAndHamburger">
|
||||
<h1>{{ .Site.Title | default "Ficurinia" }}</h1>
|
||||
<h1>
|
||||
<a class="unstyledLink" href="/">{{ .Site.Title | default "Ficurinia" }}</a>
|
||||
</h1>
|
||||
{{ if (.Site.Params.mobileHamburgerNav | default false) }}
|
||||
<label id="hamburger-menu" for="main-nav-toggler">
|
||||

|
||||
|
|
Loading…
Reference in New Issue