theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites

Home Page:https://gohugo-ananke-theme-demo.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't add submodule ananke

greengypsy opened this issue · comments

  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?

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

theme = "ananke"

commented

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