ADD FavIcon, extend height of logo

This commit is contained in:
Hoernschen 2021-04-07 15:37:08 +02:00
parent c20d262f7c
commit 6032aebe80
2 changed files with 5 additions and 2 deletions

View file

@ -4,6 +4,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title> <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
{{- $favIcon := .Site.Params.favIcon }}
<link rel="icon" type="image/png" sizes="16x16" href="{{ if $favIcon.small }}{{ $favIcon.small }}{{ else }}/favIcon16x16.png{{ end }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ if $favIcon.big }}{{ $favIcon.big }}{{ else }}/favIcon32x32.png{{ end }}">
{{ $template := resources.Get "scss/index.scss" }} {{ $template := resources.Get "scss/index.scss" }}
{{ if $template }} {{ if $template }}
{{ $index := $template | resources.ExecuteAsTemplate "css/index.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }} {{ $index := $template | resources.ExecuteAsTemplate "css/index.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}

View file

@ -27,12 +27,12 @@
} }
.logo { .logo {
height: 3.5rem; height: 4rem;
max-width: 10rem; max-width: 10rem;
} }
.small-logo { .small-logo {
height: 2.5rem; height: 3.5rem;
max-width: 10rem; max-width: 10rem;
} }