Description
null h1(string $name, string $route)
Sets the H1 for a page
Notice
This function requires setting the section name beforehand by using the section() function.
Parameters
$name
H1 title
$route
URL route to the page.
Examples
<?php route('/foo', function() { // Must set the section first section('Foo', '/foo'); // Set the pages <h1></h1> h1('Bar', '/foo/bar'); return view('index.html'); });