From f83b230aa21b976d4c3ebbd01d28fc736e93377b Mon Sep 17 00:00:00 2001
From: Chip Senkbeil <chip.senkbeil@gmail.com>
Date: Thu, 13 Sep 2018 19:22:53 +0000
Subject: [PATCH] Updated favicon to support alternative file names and paths (#81)
---
layouts/_default/baseof.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 3679df1..2f0a255 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -44,8 +44,8 @@
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}
- <link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
- <link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
+ <link rel="icon" type="image/png" href="{{ .Site.Params.favicon_32 | default "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
+ <link rel="icon" type="image/png" href="{{ .Site.Params.favicon_16 | default "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
--
Gitblit v1.10.0