Example #1
0
/**
 * Returns the html for the <head> of the document.
 *
 * @param renderer_base $output Pass in $OUTPUT.
 * @param moodle_page $page Pass in $PAGE.
 * @return string The html.
 */
function theme_ws_html_head(renderer_base $output, moodle_page $page)
{
    return '
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>' . $output->page_title() . '</title>
    <link rel="shortcut icon" href="' . $output->favicon() . '" />
    ' . $output->standard_head_html() . '
</head>
';
}