Skip to content

Commit c186a2b

Browse files
author
weru
committed
update config settings
1 parent cff9825 commit c186a2b

File tree

4 files changed

+28
-16
lines changed

4 files changed

+28
-16
lines changed

exampleSite/config.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
baseurl = "https://example.com/" # Include trailing slash
22
title = "Hugo Themes"
33
theme = "hugo-swift-theme"
4+
# theme = "swift"
45
author = "Steve Francia"
56
copyright = "Copyright © 2008–2018, Steve Francia and the Hugo Authors; all rights reserved."
67
canonifyurls = true
@@ -11,6 +12,15 @@ pygmentsCodefences = true
1112
pygmentsCodefencesGuessSyntax = true
1213

1314
[params]
15+
[params.designer]
16+
name = "Weru"
17+
url = "https://www.linkedin.com/in/dan-weru-profile/"
18+
[[params.authors]]
19+
name = "yourName" # can be nickname # if fullName 👇🏻 isn't set, name will be displayed on author card
20+
fullName = "Your Full Name" # optional. If set, it will display on author card
21+
bio = "It's time to flex. Write a short or not-so-short summary about yourself."
22+
photo = "myPhotoFile.jpg"
23+
url = "https://myURLofChoice.domain"
1424
# ga_analytics = "" # google analytics ID e.g UA-116386578-1
1525

1626
# ga_verify = "" # google verification code e.g 5jb-rxeBfITeJQKOuUss3ud6FPGTxXkCho-ZN5qlrZg
@@ -30,3 +40,21 @@ pygmentsCodefencesGuessSyntax = true
3040
# [Params.staticman.reCaptcha]
3141
# siteKey = "" # Use your own site key, you need to apply for one on Google
3242
# secret = "" # ENCRYPT your password by going to https://<staticman-endpoint>/v3/encrypt/<your-site-secret>
43+
44+
[menu]
45+
[[menu.main]]
46+
name = "About"
47+
url = "about/"
48+
weight = 2
49+
[[menu.main]]
50+
name = "Development"
51+
url = "categories/development/"
52+
weight = 3
53+
[[menu.main]]
54+
name = "Golang"
55+
url = "categories/golang/"
56+
weight = 4
57+
[[menu.main]]
58+
name = "Go"
59+
url = "tags/go/"
60+
weight = 5

exampleSite/data/authors.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

exampleSite/data/designer.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

exampleSite/data/menu.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)