I love Hugo’s pipes. But somehow they seem to be fixed to the root-repository. What would be the proper approach for somebody developing a theme to implement pipes without requiring the user to copy the asset directory from the theme directory but updating assets on hugo server
? Assuming those assets get updated in the parent theme repository many updates might go lost on the end-user.
At the moment I am using assetDir
in config.toml
to rewrite the asset directory into the themes asset directory. But that requires the user to actually read the documentation and we know how many people do that. Also, if they change the used theme and don’t fix the assetDir
in config.toml
their sites go broken.
Is there a technical reason why the assets directory of a theme cannot be treated like a themes layout or static directory? In sense of overwriting what might be inside of the root directory?
Is this worth a feature request (let a themes asset directory be used or if non-existing the root asset directory) or not really needed or do I overlook something?