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