Example #1
0
<?php

/**
 * Header Template
 *
 * This template calls a series of functions that output the head tag of the document.
 * The body and div #main elements are opened at the end of this file.
 *
 * @package Distilled
 * @subpackage Templates
 */
// Creates the doctype
seamless_doctype();
// Opens the html tag with attributes
seamless_html();
// Opens the head
seamless_head();
// Create the meta charset
seamless_meta_charset();
// Create the meta viewport if theme supports it
if (current_theme_supports('seamless_meta_viewport')) {
    seamless_meta_viewport();
}
// Create the title tag
seamless_doctitle();
// Create the meta description
seamless_meta_description();
// Create the tag <meta name="robots"
seamless_meta_robots();
// Create pingback adress
seamless_show_pingback();
 function test_seamless_doctype()
 {
     $this->expectOutputRegex('/^<!DOCTYPE html>/', seamless_doctype());
 }