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>
<meta charset="utf-8">
{{ 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}}
<title>{{ .Scratch.Get "title" }}</title>
{{ partial "head_includes.html" . }}