mirror of
https://github.com/gesquive/slate.git
synced 2024-12-12 17:00:36 +01:00
add favicon site variable
This commit is contained in:
parent
865c770ac5
commit
d69d1b6cec
@ -46,6 +46,8 @@ BackgroundImages = [
|
|||||||
BackgroundStyle = "background: #000000;"
|
BackgroundStyle = "background: #000000;"
|
||||||
# optional bool to have links open in a new window/tab (default: true)
|
# optional bool to have links open in a new window/tab (default: true)
|
||||||
OpenLinksInNewWindow = true
|
OpenLinksInNewWindow = true
|
||||||
|
# optional path to favicon
|
||||||
|
Favicon = "favicon.ico"
|
||||||
|
|
||||||
# list of nav tags
|
# list of nav tags
|
||||||
[[ params.nav ]]
|
[[ params.nav ]]
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<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">
|
<link rel="stylesheet" href="css/slate.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user