frjo / hugo-theme-zen

A fast and clean Hugo base theme with css-grid and Hugo pipes support.
https://zen-demo.xdeb.org/
GNU General Public License v2.0
264 stars 75 forks source link

`assets/vendor` missing when using theme as a module #85

Closed danielfdickinson closed 1 year ago

danielfdickinson commented 1 year ago

Unfortunately, a directory named vendor causes problems for Hugo modules due to the way Go modules work. This was discussed on the forum in context of PHP, but I discovered it also affects this folder as well. In DFD-Zen I have renamed the folder and all works the way it should. See:

https://discourse.gohugo.io/t/is-it-still-true-due-to-the-way-go-works-that-one-should-not-use-a-vendor-folder-in-a-hugo-project/38899

frjo commented 1 year ago

Thanks for the heads up, will implement a fix.

frjo commented 1 year ago

Opted to rename it "libs", I might put other things that js files there in the future.