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

This commit is contained in:
Robert Kaussow 2021-05-23 15:18:55 +02:00 committed by GitHub
parent 18e0e7577a
commit 01e4e6f7a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="container flex align-center justify-center">
<a class="gblog-header__link" rel="me" href="{{ .Site.BaseURL }}">
<span class="gblog-brand flex align-center justify-center">
<img class="gblog-brand__img" src="{{ (default "brand.svg" .Site.Params.logo) | relURL }}" alt="" width=60 height=60>
<img class="gblog-brand__img" src="{{ (default "brand.svg" .Site.Params.logo) | relURL }}" alt="">
{{ .Site.Title }}
</span>
{{ with .Site.Params.subtitle }}

View File

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