small fixes; add favicons

This commit is contained in:
Robert Kaussow 2018-12-21 00:09:35 +01:00
parent 64d76a174d
commit f7b9135442
5 changed files with 10 additions and 5 deletions

View File

@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="de">
{{- partial "head.html" . -}}
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . -}}
<body>
<header>
<div class="site-header">
<span class="site-header__icon"><i class="fas fa-flask"></i></span>
<span class="site-header__title">Geeklabor</span>
<span class="site-header__description">Linux und Open Source Blog</span>
<span class="site-header__title">{{ .Site.Title }}</span>
<span class="site-header__description">{{ .Site.Params.longTitle }}</span>
</div>
<div class="site-nav__mobile">
@ -30,7 +30,7 @@
<main class="site-content">
{{ block "main" . }}{{ end }}
</main>
{{- partial "footer.html" . -}}
{{ partial "footer.html" . -}}
</div>
<link rel="stylesheet" type="text/css" href="{{ "default.min.css" | relURL }}" />

View File

@ -1,5 +1,10 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>{{ .Site.Title }}</title>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" type="image/png" href="/favicon.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon.png" sizes="96x96">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}

BIN
static/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
static/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB