-
-
Notifications
You must be signed in to change notification settings - Fork 369
Home
Alexander Bilz edited this page Feb 10, 2022
·
12 revisions
Welcome to the anatole wiki!
- Install prerequisites git and go (>= 1.12)
- Turn your Hugo Project into a Hugo module:
hugo mod init github.com/me/my-project
- Declare the
Anatole
module as a dependency of your site:hugo mod get github.com/lxndrblz/anatole
- Add the following lines at the end of your
config.toml
:
[module]
# uncomment line below for temporary local development of module
# replacements = "github.com/lxndrblz/anatole -> ../../anatole"
[[module.imports]]
path = "github.com/lxndrblz/anatole"
disable = false
- Add the repository into your Hugo Project repository as a submodule:
git submodule add https://github.com/lxndrblz/anatole.git themes/anatole
.
- Configure your
config.toml
. Feel free to copy the democonfig.toml
and some content from the exampleSite. - Build your site with
hugo serve
and admire the result athttp://localhost:1313/
.
If you want to get the latest update of the Anatole
theme, please follow the instructions below:
hugo mod get -u github.com/lxndrblz/anatole
git submodule update --remote --merge