feat: add favicon to index

This commit is contained in:
Leclerc Gwendal 2016-03-30 22:02:25 +02:00
parent b6c8ef14e0
commit 9ac9c082b1

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
{{ partial "meta.html" . }} {{ partial "meta.html" . }}
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" /> {{ partial "favicon.html" . }}
{{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}} {{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
<title>{{ .Scratch.Get "title" }}</title> <title>{{ .Scratch.Get "title" }}</title>
{{ partial "head_includes.html" . }} {{ partial "head_includes.html" . }}