Can change logo now with config.toml
This commit is contained in:
parent
19602e782a
commit
abbcc82681
3 changed files with 5 additions and 2 deletions
|
@ -17,7 +17,9 @@ After installation, you will need to configure the config.toml file, change pict
|
|||
|
||||
### The config file
|
||||
|
||||
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'.
|
||||
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`.
|
||||
|
||||
### Changing pictures
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ theme = "dimension"
|
|||
title = "Dimension"
|
||||
description = '<!--[-->A fully responsive site template designed by <a href="https://html5up.net">HTML5 UP</a> and released<!--]--><br />
|
||||
<!--[-->for free under the <a href="https://html5up.net/license">Creative Commons</a> license.<!--]-->'
|
||||
logo = "fa-diamond"
|
||||
copyright = "Untitled"
|
||||
|
||||
[[params.social]]
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<!-- Header -->
|
||||
<header id="header">
|
||||
<div class="logo">
|
||||
<span class="icon fa-diamond"></span>
|
||||
<span class="icon {{ .Site.Params.logo }}"></span>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
|
|
Loading…
Reference in a new issue