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

Transition to a Hugo Module? #4

Open
garrison opened this issue Sep 2, 2020 · 4 comments
Open

Transition to a Hugo Module? #4

garrison opened this issue Sep 2, 2020 · 4 comments

Comments

@garrison
Copy link

garrison commented Sep 2, 2020

Have you considered making victorhugo into a Hugo Module? Some examples of this in action are at https://github.com/gohugoio/hugo-mod-jslibs. I think it might make victorhugo even easier to hook into a web site; it will allow users to more easily keep their version of victorhugo up-to-date; and it will likely mean you can modify victorhugo in ways that could make it more maintainable, rather than have it continue to be one big file.

@doncabreraphone
Copy link
Owner

doncabreraphone commented Sep 2, 2020 via email

@garrison
Copy link
Author

garrison commented Sep 2, 2020

I agree that the Hugo Modules documentation currently is not very good. That's why I linked to hugo-mod-jslibs. For instance, the wrapping there of turbolinks is pretty simple and straightforward.

@doncabreraphone
Copy link
Owner

doncabreraphone commented Sep 2, 2020 via email

@doncabreraphone
Copy link
Owner

doncabreraphone commented Sep 2, 2020

Hot damn James, you are a theoretical physicist! Congrats on you, man!

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

2 participants