From d69d1b6cec1437060511c1a4a3413a8bbffef62d Mon Sep 17 00:00:00 2001 From: Gus Esquivel Date: Fri, 19 May 2017 08:21:09 -0500 Subject: add favicon site variable --- README.md | 2 ++ layouts/index.html | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c7feb93..f0805cf 100644 --- a/README.md +++ b/README.md @@ -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 @@ - {{ .Title }} + {{ .Title }}{{ if .Site.Params.Favicon }} + {{ end }} -- cgit v1.2.3