spanezz / staticsite

Static site generator
GNU General Public License v3.0
45 stars 7 forks source link

Follow links while directory walking #18

Closed DonKult closed 4 years ago

DonKult commented 4 years ago

This allows e.g. "static" content like JS/CSS to be pulled in from a third party location like /usr/share/javascript/ to avoid embedded copies in the project (at the expense of potential breakage) or sharing mostly static content pages like inprints between (sub)projects.

Building the site creates copies in the build directory as expected.

spanezz commented 4 years ago

Good idea, thanks!

spanezz commented 4 years ago

Note that for /usr/share/javascript, staticsite can already looks for assets there, if you add bits to settings.SYSTEM_ASSETS