1
0
forked from extern/slate

add favicon site variable

This commit is contained in:
Gus Esquivel 2017-05-19 08:21:09 -05:00
parent 865c770ac5
commit d69d1b6cec
2 changed files with 4 additions and 1 deletions

View File

@ -46,6 +46,8 @@ BackgroundImages = [
BackgroundStyle = "background: #000000;"
# optional bool to have links open in a new window/tab (default: true)
OpenLinksInNewWindow = true
# optional path to favicon
Favicon = "favicon.ico"
# list of nav tags
[[ params.nav ]]

View File

@ -1,6 +1,7 @@
<html>
<head>
<title>{{ .Title }}</title>
<title>{{ .Title }}</title>{{ if .Site.Params.Favicon }}
<link rel="shortcut icon" href="{{ .Site.Params.Favicon }}">{{ end }}
<link rel="stylesheet" href="css/slate.css">
</head>