You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should probably be solved by placing the resources in a specific path inside the passed in --datadir, or as a separate input via a separate CLI parameter.
With the changes in #9, extra resources can be specified with --injectedresources/-i (one -i param for each file). This is, however, very cumbersome for the typical scenario where assets are organized in a hierarchical file structure, which is not naturally specifiable with --injectedresources as it currently stands.
I'm more inclined to implement a related CLI option that lets one specify directories to include, and site builder would try its best to preserve the path structure, along with a path prefix option (which is typically configurable in web asset bundlers). Maybe something like --injected-assets-dir / -d along with --injected-assets-prefix.
Example image URLs
The text was updated successfully, but these errors were encountered: