themes/hugo-theme-flat/layouts/partials/head.html aktualisiert

Favicon aktuell
master
Kolja 2024-08-24 10:33:25 +02:00
parent cc2d0f9819
commit 8cf08aa69c
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@
<meta name="gitdate" content="{{ .Page.GitInfo.CommitDate }}"> <meta name="gitdate" content="{{ .Page.GitInfo.CommitDate }}">
<meta name="gitmsg" content="{{ .Page.GitInfo.Subject }}"> <meta name="gitmsg" content="{{ .Page.GitInfo.Subject }}">
<meta name="buildtime" content="{{ time.Now }}"> <meta name="buildtime" content="{{ time.Now }}">
<link rel="icon" type="image/png" href="{{ "img/fav.png" | relURL }}"> <link rel="apple-touch-icon" sizes="180x180" href="{{ "img/apple-touch-icon.png" | relURL }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ "img/favicon-32x32.png" | relURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "img/favicon-16x16.png" | relURL }}">
{{ $title := .Site.Title -}} {{ $title := .Site.Title -}}
{{ if .Params.Title -}} {{ if .Params.Title -}}
{{ $title = printf "%s | %s" .Params.Title $title -}} {{ $title = printf "%s | %s" .Params.Title $title -}}