How do we have global assets?


If pages are rendered to subfolders, when i build the site, it can’t access the assets in the main folder.

Colour my ignorance, but this works fine when using live reload, i just don’t know how to build it in a form i can upload to my server with correct asset links.

Assistance would be wonderful.


Use the get_url function in the template to get the right path automatially like in the docs: where favicon.ico is a file at the root of the static directory:


Thanks! That works perfectly. I guess i missed that in the documentation.