doncabreraphone / victorhugo

The most popular search engine optimization plug-in for Hugo (a static site generator). Victor Hugo helps you write good SEO content for your blog, the easy way. UPDATE: I am currently in the process of making Victor Hugo a standalone tool that can be used with any static website, not just Hugo.
GNU General Public License v3.0
72 stars 7 forks source link

Transition to a Hugo Module? #4

Open garrison opened 3 years ago

garrison commented 3 years ago

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 commented 3 years ago

Too advanced for me. The docunentation seems too cryptic. Maybe in the future.

On Wed, Sep 2, 2020, 1:52 PM Jim Garrison notifications@github.com wrote:

Have you considered making victorhugo into a Hugo Module https://gohugo.io/hugo-modules/? 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/doncabreraphone/victorhugo/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKXOCHUMAEIDCHIBKVQMX5DSDZZ4FANCNFSM4QTKTAFQ .

garrison commented 3 years ago

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 commented 3 years ago

I'm giving it a try later today. Thank you for letting me know, I hadn't seen that bit ypu you mention. That said, I've found the lack of official support from Hugo to be really demoralizing, to the point where I'm considering moving the project outside Hugo. Wordpress supported their plugging devs 100% all the way when they first launched. I don't see the same from Hugo. It would explain the lack of themes and modules (or pluggings). Yeah, modules are pretty new but... even then. It is almost like they can't be bothered with it.

On Wed, Sep 2, 2020, 3:34 PM Jim Garrison notifications@github.com wrote:

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 https://github.com/gohugoio/hugo-mod-jslibs/tree/master/turbolinks is pretty simple and straightforward.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/doncabreraphone/victorhugo/issues/4#issuecomment-685921697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKXOCHSAGJREJDNLGYVEGE3SD2F2ZANCNFSM4QTKTAFQ .

doncabreraphone commented 3 years ago

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