From 518964d13edad09a91ff7f56e1e2cfa374de9870 Mon Sep 17 00:00:00 2001 From: Michel Racic Date: Mon, 13 Mar 2017 14:41:14 +0100 Subject: [PATCH] Logoimage (#11) * Fixed installation commands Removed extra line * Added custom link capability for tabs. Fixes #4 * Refined robots.txt * Added logoimage variant --- README.md | 1 + layouts/index.html | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7fdac08..1b3540f 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ After installation, you will need to configure the config.toml file, change pict Copy the `config.toml` from the exampleSite folder into your Hugo site's root folder. Change the fields as needed. Add or delete social media by following the examples in the file. You may need to look up the [font-awesome](http://fontawesome.io/) icon names. The icon field should be filled out without the "fa" prefix. The icon field for Twitter should be 'twitter' instead of 'fa-twitter'. You can change the logo as well with font-awesome icons. The default is set to `fa-diamond`. +To use an image as logo, remove the `logo = "fa-diamond"` line and replace it with `logoimage = "/path/to/image.png"` and place your image at that location in the `static` folder. The image should be in square format and at least 86*86 pixels for best viewing experience. ### Changing pictures diff --git a/layouts/index.html b/layouts/index.html index 6b371d8..f18483a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,12 @@