url($path = '/')
Builds an absolute URL for a given path
-
$path (string)
Absolute or relative URL -
return (string)
Example
echo url();
echo url('blog');
echo url('assets/css/site.css');
echo url('http://getkirby.com');
Builds an absolute URL for a given path
echo url();
echo url('blog');
echo url('assets/css/site.css');
echo url('http://getkirby.com');