reworked site icons, added generator script

This commit is contained in:
Gabriele Musco 2021-04-19 09:57:44 +02:00
parent 95bb68db0f
commit 45a2cae2d1
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
12 changed files with 75 additions and 11 deletions

View file

@ -15,7 +15,7 @@
{{ end }}
{{ end }}
<link rel="shortcut icon" href='{{ .Site.Params.favicon | default "/img/favicon.png" }}' type="image/x-icon" />
{{- partial "head_icons.html" . -}}
<title>
{{ if and (.Title) (ne .Title .Site.Title) }}

View file

@ -0,0 +1,20 @@
<link
rel="icon"
href='{{ .Site.Params.favicon | default "/favicon.png" }}'
/>
<link
rel="shortcut icon"
href='{{ .Site.Params.faviconIco | default "/favicon.ico" }}'
type="image/x-icon"
/>
<link
rel="apple-touch-icon"
href='{{ .Site.Params.appletouch | default "/apple-touch-icon.png" }}'
/>
{{ if .Site.Params.svgicon }}
<link
rel="icon"
href='{{ .Site.Params.svgicon | default "/logo.svg" }}'
type="image/svg+xml"
/>
{{ end }}

View file

@ -2,7 +2,7 @@
{{- partial "inject/header-before.html" . -}}
<div class="titleAndSearchContainer">
<div id="titleContainer">
<img src='{{ .Site.Params.Logo | default "/img/icon.svg" }}' />
<img src='{{ .Site.Params.Logo | default "/logo.svg" }}' />
<div>
<div class="titleAndHamburger">
<h1>{{ .Site.Title | default "Ficurinia" }}</h1>