When within a bottle template file, what is the way to reference a static file? for example this one?
<body background='/static/img/digital.gif'>
Why the above relative file fails to load the image? How can i reference it correctly? If i try it as:
<body background="{{ static_file( 'digital.gif', root='./static/img' }}">
The image also fail to render.
Why Bottle fail to render the image even if no 'static_file' function is used?
My images are withing './static/img' – Νικόλαος Βέργος Sep 23 '18 at 12:12