mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 20:35:07 +01:00
Update README.md
This commit is contained in:
parent
9532cb8285
commit
0be2ed1438
25
README.md
25
README.md
@ -54,22 +54,24 @@ $ git submodule add https://github.com/panr/hugo-theme-hello-friend.git themes/h
|
|||||||
The theme doesn't require any advanced configuration. Just copy:
|
The theme doesn't require any advanced configuration. Just copy:
|
||||||
|
|
||||||
```
|
```
|
||||||
baseUrl = "https://example.com/"
|
baseurl = "https://example.org/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Your site title"
|
title = "Hello Friend"
|
||||||
theme = "hello-friend"
|
theme = "hugo-theme-hello-friend"
|
||||||
copyright = ""
|
copyright = ""
|
||||||
paginate = 5
|
paginate = 5
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
subtitle = "Your site subtitle"
|
subtitle = "A simple theme for Hugo"
|
||||||
|
# "light" or "dark"
|
||||||
|
defaultTheme = "dark"
|
||||||
|
|
||||||
[params.logo]
|
[params.logo]
|
||||||
logoText = "hello friend"
|
logoText = "hello friend"
|
||||||
# or
|
# or
|
||||||
#
|
#
|
||||||
# path = "/img/your-example-logo.svg"
|
# path = "/img/your-example-logo.svg"
|
||||||
# alt = "Your example logo alt text"
|
# alt = "Your example logo alt text"
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
@ -77,10 +79,9 @@ paginate = 5
|
|||||||
name = "About"
|
name = "About"
|
||||||
url = "/about"
|
url = "/about"
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "contact"
|
identifier = "showcase"
|
||||||
name = "Contact"
|
name = "Showcase"
|
||||||
url = "/contact"
|
url = "/showcase"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
to `config.toml` file in your Hugo root directory and change params fields.
|
to `config.toml` file in your Hugo root directory and change params fields.
|
||||||
|
Loading…
Reference in New Issue
Block a user