Descargar el tema
# Opción A: Como submodule
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke
# Opción B: Clonar directamente
git clone https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke
Cambiar el tema en el documento de configuracion hugo.toml
theme = "ananke"
Probar el tema
hugo server
# Probar un tema específico sin modificar hugo.toml
hugo server --theme ananke
Gestión de temas con git:
Si se usa el submodules:
# Actualizar todos los submodules
git submodule update --remote
# O actualizar uno específico
git submodule update --remote themes/terminal
Comandos útiles:
# Ver qué temas tienes instalados
ls themes/
# Eliminar un tema que no te gusta
rm -rf themes/nombre-del-tema
# O si es submodule
git submodule deinit themes/nombre-del-tema
git rm themes/nombre-del-tema