reworked site icons, added generator script
This commit is contained in:
parent
95bb68db0f
commit
45a2cae2d1
12 changed files with 75 additions and 11 deletions
|
|
@ -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) }}
|
||||
|
|
|
|||
20
layouts/partials/head_icons.html
Normal file
20
layouts/partials/head_icons.html
Normal 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 }}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue