@@ -38,29 +38,33 @@ Next, open the `config.toml` file in the base of the Hugo folder and ensure the
38
38
39
39
There are various options you can easily set from your ` config.toml ` file.
40
40
41
- This text will appear after the Title of your site in your ` <title> ` meta tag:
41
+ This text will appear after the Title of your site in your ` <title> ` meta tag, and after the Title in the sidebar :
42
42
43
43
description = "A Hugo Theme built with Bootstrap"
44
44
45
45
46
46
### Sidebar
47
47
48
- This text will appear in the sidebar immediately under your site's Title:
48
+ This text will appear in a free paragraph below the Title & Description and above the menu links. Set it to "" if you don't want it.
49
49
50
- sidebarDescription = "A Hugo Theme built with Bootstrap "
50
+ sidebarFreeText = "A optional paragraph of free text. Set to blank in config.toml to clear... "
51
51
52
- This text will appear in a free paragraph below the Title & sidebarDescription and above the menu links. Set it to "" if you don't want it.
52
+ You can include clickable icons (e.g. for social networks )by including ` " menu=icons" ` items in your ` config.toml ` . Example:
53
53
54
- sidebarFreeText = "A optional paragraph of free text. Set to blank in config.toml to clear..."
54
+ [[menu.icons]]
55
+ name = "GitHub"
56
+ post = "<img src=\"/images/github.png\""
57
+ url = "https://github.com"
55
58
56
- You can also include useful menu links by including ` "menu=main" ` items in your ` config.toml ` . Example:
59
+ You can optionally use the ` post ` var to include HTML after the ` name ` in the resulting links.
60
+ You can include useful menu links by including ` "menu=main" ` items in your ` config.toml ` . Example:
57
61
58
62
[[menu.main]]
59
63
name = "Hugo"
60
64
post = "<span class='glyphicon glyphicon-fire'></span>"
61
65
url = "http://gohugo.io"
62
66
63
- You can optionally use the ` pre ` and ` post ` vars to include HTML before or after the ` name ` in the resulting links.
67
+ You can optionally use the ` post ` var to include HTML after the ` name ` in the resulting links.
64
68
65
69
You can use the ` "contact_email" ` field in ` [params] ` to set a mailto: link the in the sidebar. Leave blank if you don't want it.
66
70
@@ -94,7 +98,6 @@ Using a theme is as simple as changing the `colorScheme` param in your `config.t
94
98
colorScheme = "scheme-darkbrown"
95
99
DateFormat = "2 Jan 2006"
96
100
description = "A Hugo Theme built with Bootstrap"
97
- sidebarDescription = "A Hugo Theme built with Bootstrap"
98
101
sidebarFreeText = "A optional paragraph of free text. Set to blank in config.toml to clear..."
99
102
100
103
@@ -150,7 +153,6 @@ Here is a full example `config.toml`:
150
153
colorScheme = "scheme-darkbrown"
151
154
DateFormat = "2 Jan 2006"
152
155
description = "A blog about content"
153
- sidebarDescription = "This is my blog about content"
154
156
sidebarFreeText = "A optional paragraph of free text. Set to blank in config.toml to clear..."
155
157
piwikSiteID = ""
156
158
piwikURL = ""
0 commit comments