Files in static folder will be copied "as is" to the sites output directory (by default in Unibit this is /public). The directory structure of static files will be preserved.

├── static                  [any static files will be copied to final site]
│   ├── js
│   │   └── main.js
│   └── images
│       ├── logo.svg
│       ├── image1.jpg
│       └── image2.jpg       

Output

├── public                  [the default output directory]
│   ├── js
│   │   └── main.js
│   └── images
│       ├── logo.svg
│       ├── image1.jpg
│       └── image2.jpg          

Using static files in layouts

<!-- components/header.html -->

<div class="header">
    <img class="logo" src="{{ 'images/logo.svg' | relative_url }}" />
</div>
<!-- layouts/post_body.html -->

<script src="{{ 'js/main.js' | relative_url }}"></script>