Sha256: d0ea8b78d6a74f9fe7f3932375c7c535731463ed914d74e447832fc6ed419bd0

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

<?
  defined("C5_EXECUTE") or die("Access Denied.");
  $this->inc("includes/view_helpers.php");
?>
<!DOCTYPE html>
<html lang="<?= LANGUAGE ?>">
  <head>
    <?php Loader::element("header_required"); ?>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/2.1.3/normalize.min.css" />
    <link rel="stylesheet" href="<?= $this->getThemePath(); ?>/css/styles.css" />

    <!--[if lt IE 9]>
      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
    <![endif]-->
  </head>
  <body class="<?= page_classes($c) ?>">


    <!-- image_tag helper example -->
    <?= image_tag($this, "logo.png", ["class" => "main-logo"]); ?>

    <!-- block example -->
    <?
      $a = new Area("Header");
      $a->display($c);
    ?>

    <!-- nav example -->
    <?
      $nav = BlockType::getByHandle("autonav");
      $nav->controller->orderBy = "display_asc";
      $nav->controller->displayPages = "top";
      $nav->controller->displaySubPages = "all";
      $nav->controller->displaySubPageLevels = "custom";
      $nav->controller->displaySubPageLevelsNum = 1;
      $nav->render("templates/header_menu");
    ?>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pave-0.16.0 templates/themes/blank/elements/header.php
pave-0.15.0 templates/themes/blank/elements/header.php
pave-0.14.2 templates/themes/blank/elements/header.php
pave-0.14.1 templates/themes/blank/elements/header.php
pave-0.14.0 templates/themes/blank/elements/header.php