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

uci-hugo-doc
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 }} {{ end }}
<a class="gdoc-header__link" href="{{ .Root.Site.BaseURL }}"> <a class="gdoc-header__link" href="{{ .Root.Site.BaseURL }}">
<span class="gdoc-brand flex align-center"> <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 }} {{ .Root.Site.Title }}
</span> </span>
</a> </a>

View File

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