Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts/2024-04-01-hugo-modules/ #4

Open
utterances-bot opened this issue Jun 21, 2024 · 4 comments
Open

posts/2024-04-01-hugo-modules/ #4

utterances-bot opened this issue Jun 21, 2024 · 4 comments

Comments

@utterances-bot
Copy link

Using Hugo Modules for themes | Software Craftsperson

How to manage your Hugo themes using Hugo Modules

https://www.softwarecraftsperson.com/posts/2024-04-01-hugo-modules/

Copy link

I am struggling to get the latest Hugo to work with pretty much every theme I find online. Most are github submodules. Seems part of the issue is hugo.toml vs config.toml. Not sure though. I build the site, and often see some github error issue with regards to some asset like a font or something. I am trying to figure out how can I take a specific "old" (e.g. > 1 year) theme and convert it to a hugo module so I can use it in that manner.

Copy link

@kevinduffey I suffered same thing here. Probably you try run a old Hugo version with more newest theme submodule version. Hugo community strongly recommend to update Hugo version, so I did creating a fresh Hugo, added new theme submodule and migrated markdown post files to there - https://www.brunodantas.com.br

@kevinduffey
Copy link

Nope.. latest version of Hugo. I got it kind of working.. but it doesn't seem like much in the way of tutorials especially for most themes. Most seem to be built for older versions I guess. But I found a theme that seems to work with the latest, still trying to figure out how to customize it.

Copy link
Owner

Hey Kevin,
The papermod theme had a workaround to get things working after the upgrade.
It wonder if it was related to the issue discussed in adityatelange/hugo-PaperMod#1620 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants