Merge pull request #38 from Junyi-99/Junyi-99-patch-1

Update README.md
This commit is contained in:
Junyi 2024-04-26 13:14:47 +08:00 committed by GitHub
commit 4d6fbc8c9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,30 @@ Inside the folder of your Hugo site run:
For more information read the official [setup guide](https://gohugo.io/overview/installing/) of Hugo.
### Configure your site
Don't be panic, configure Anubis2 is relatively simple.
**This is the minimum configuration:**
```toml
baseURL = "https://hugo-theme-anubis2.netlify.app/"
languageCode = "en-us"
theme = "anubis2"
title = "Anubis2 Demo Site"
[author]
name = "Junyi"
[markup.goldmark.renderer]
unsafe = true # true | false; Enable unsafe mode to have a better experience
[markup.highlight]
style = 'base16-snazzy' # Highlight.js style
```
It's not too late to keep the other fields as defaults and fine-tune them when you have time! (see [Configuration Example](https://github.com/Junyi-99/hugo-theme-anubis2/wiki/Configuration-Example))
### Run your site
In order to see your site in action, run Hugo's built-in local server.