Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wd/hugo-fabric.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwd <wd@wdicc.com>2017-04-08 10:08:25 +0300
committerwd <wd@wdicc.com>2017-04-08 10:08:25 +0300
commitbf8215226770b2271553cdce6133b7611d749801 (patch)
treede91db3cc0bbd5aa7526648365f1679562ce6ada
parent139e1bdffc7f94efda5fc4eb9a0ee85aedf49922 (diff)
Add default favicon
-rw-r--r--README.md4
-rw-r--r--layouts/partials/head.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index cafe6c3..07b2bf8 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,10 @@ Put settings below into your config.toml.
addthis_profile_id = "wd"
```
+# Favicon
+
+There is a default favicon with this theme, you may want to change it. Just put it at `themes/hugo-fabric/static/images/fav.ico`.
+
# Code highlight
If you want to change to your favourite highlight style, just download the css file and replace `themes/hugo-fabric/static/css/hljs.css`.
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 292d4be..9007fde 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -15,7 +15,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="{{ .RSSLink }}" rel="alternate" title="{{ .Site.Title }}" type="application/atom+xml">
- <link href="{{ .Site.BaseURL }}/favicon.ico" rel="shortcut icon">
+ <link href="{{ .Site.BaseURL }}/images/fav.ico" rel="shortcut icon">
{{ partial "css/screen.css" . }}