Open DirtyF opened 4 years ago
I looked into Hugo modules before, but I believe those do not serve the same technical purpose.
You would actually install hugo-cite just as you would install a theme.
The only difference is that you would then specify hugo-cite
as an “additional theme” (see 2. Configugure).
I can’t think of a more simple installation than installing a theme – let me know if the README instructions are not clear enough.
@DirtyF It's another choice, not sure one is better than the other. I think "This could ease the install phase" is more accurate :relieved:
@antoinentl I'm not sure @bep would agree 😉
Inspiration on how to setup the module (with versioning, cf. #14 for versioning): https://github.com/bep/my-modular-site
Configure a module (Hugo documentation): https://gohugo.io/hugo-modules/configuration/
The New Dynamic, the most famous Hugo Shop out there open sourced a lot of modules if you need concrete examples: https://github.com/theNewDynamic?q=hugo-module
@antoinentl I'm not sure @bep would agree 😉
I don't. Even for the simplest setup (as in: 1 theme) there are plenty of benefits.
As someone who has implemented this theme twice, I appreciate its current structure (as a theme). However, my current websites are not set up as hugo modules. BTW: it is difficult to tell who is advocating for the conversion to modules because of the short comments. However, I trust that you all understand each other!
People should be able to use it easily. This would ease the install phase.
See https://gohugo.io/hugo-modules/