theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.com/
MIT License
1.09k stars 1.12k forks source link

Can't add submodule ananke #600

Open greengypsy opened 1 year ago

greengypsy commented 1 year ago
  1. Added this to my config.toml file: Screen Shot 2022-12-27 at 10 04 26 am

  2. Typed this in the command line: hugo

  3. Got this error:

    Screen Shot 2022-12-27 at 10 04 05 am

Can someone please help me?

anirban99 commented 1 year ago

When you add ananke as a git submodule, the following can be set in the config.toml

theme = "ananke"

sebbASF commented 1 year ago

Looks like the correct syntax requires square brackets:

theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]

See

https://github.com/theNewDynamic/gohugo-theme-ananke#as-a-hugo-module-recommended

for all the details