feat: allow user-defined overwriting of the logo size (#83)

This commit is contained in:
Leah Oswald 2021-03-04 21:25:25 +01:00 committed by GitHub
parent 099305d7f2
commit 10203cd9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@
{{ end }}
<a class="gdoc-header__link" href="{{ .Root.Site.BaseURL }}">
<span class="gdoc-brand flex align-center">
<img class="gdoc-brand__img" src="{{ (default "brand.svg" .Root.Site.Params.GeekdocLogo) | relURL }}" alt="" width=38 height=38>
<img class="gdoc-brand__img" src="{{ (default "brand.svg" .Root.Site.Params.GeekdocLogo) | relURL }}" alt="">
{{ .Root.Site.Title }}
</span>
</a>

View File

@ -117,6 +117,8 @@ img {
&__img {
margin-right: $padding-16;
width: 38px;
height: 38px;
}
}