diff options
author | wd <wd@wdicc.com> | 2017-04-08 10:08:25 +0300 |
---|---|---|
committer | wd <wd@wdicc.com> | 2017-04-08 10:08:25 +0300 |
commit | bf8215226770b2271553cdce6133b7611d749801 (patch) | |
tree | de91db3cc0bbd5aa7526648365f1679562ce6ada | |
parent | 139e1bdffc7f94efda5fc4eb9a0ee85aedf49922 (diff) |
Add default favicon
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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" . }} |