How to write the path of images when creating a theme?

How to write the path of images when creating a theme?

Everything INSIDE of static is copied TO THE WEBROOT.

Meaning: static/blafasel.jpg should be linked via /blafasel.jpg.

First, your themes static directory is copied, then the global static directory on top of that.