base_url

The Twig-variable {{ base_url }} holds the base url of your website. Use it to create absolute urls to references.

Example Usage

The base url is especially useful for a home-button or if you want to reference css or js-files like this:

<link rel="stylesheet" href="{{ base_url }}/themes/typemill/css/style.css" />