Open wangchucheng opened 2 years ago
I believe this project is mainly just supporting go HTML templates rather than JS or XML or CSS templates; I agree that the templating support in Hugo is really useful - I've used a custom output type to generate my _headers
file w/ dynamic hash values for CSP purposes so I can use a strict-dynamic
policy
Related to #33 — but in a separate file.
I tried to use this plugin in my Hugo project and I found it could not work with js files well.
In Hugo, there is a feature that Hugo can execute js/css files as a template. FYI, https://gohugo.io/hugo-pipes/resource-from-template/.
But I found that if I used this feature and tried to format my project then it would break. It seems that this plugin did not have support for this, so I was wondering if this would be include in future?
Thank you for making this wonderful plugin! It is very helpful.