Browse Source

add favicon site variable

main
Gus Esquivel 8 years ago
parent
commit
d69d1b6cec
  1. 2
      README.md
  2. 3
      layouts/index.html

2
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 ]]

3
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>

Loading…
Cancel
Save