diff options
author | Gus Esquivel <gesquive@gmail.com> | 2017-05-19 16:21:09 +0300 |
---|---|---|
committer | Gus Esquivel <gesquive@gmail.com> | 2017-05-19 16:25:23 +0300 |
commit | d69d1b6cec1437060511c1a4a3413a8bbffef62d (patch) | |
tree | 4cabdff74167af06069596307a2fb77277d87e24 | |
parent | 865c770ac5ab89bab5e759b0aaa4b84325aed60c (diff) |
add favicon site variable
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | layouts/index.html | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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 ]] diff --git a/layouts/index.html b/layouts/index.html index f3963fb..52b3171 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -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> |