@head() directive is used to set the default title of
a web page. The example below shows how this directive can be applied in template files.
<html lang="en">
<head>
@head('homepage')
<head>
<body>
@yield()
<body>
<html>
@template('home')
some new content here...
@template;
@title() directive.