mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Allow flexible favicon location
* Fix README for these changes
This commit is contained in:
@@ -3,15 +3,13 @@
|
||||
<link rel="stylesheet" href="/css/pygments.css">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
{{ if .Site.Params.WebfontsFile }}
|
||||
<link rel="stylesheet" href="{{ .Site.Params.WebfontsFile }}">
|
||||
{{ else }}
|
||||
<link rel="stylesheet" href="/css/webfonts.css">
|
||||
<link rel="stylesheet" href="/{{ .Site.Params.WebfontsFile }}">
|
||||
{{ end }}
|
||||
|
||||
<!-- Icon -->
|
||||
<link rel="shortcut icon"
|
||||
{{ if .Site.Params.FaviconFile }}
|
||||
href="/img/{{ .Site.Params.FaviconFile }}"
|
||||
href="/{{ .Site.Params.FaviconFile }}"
|
||||
{{ else }}
|
||||
href="/img/favicon.ico"
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user