Sha256: 9fc4db987b688705fbe763a9672c3ea6de84b3352281fb48ed30c45a92cb7653

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

<!DOCTYPE html>
<html>
<head>
  {{> stylesheets.html }}
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
  <meta charset="utf-8">
  <title>{{config.title}}: {{config.subtitle}}</title>
  {{#config}}
  {{#typekit}}
  <script type="text/javascript" src="//use.typekit.net/{{id}}.js"></script>
  <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
  {{/typekit}}
  {{#favicon}}
  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
  {{/favicon}}
  {{#apple-mobile-web}}
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <script>
    // Mobile Safari in standalone mode - don't shell out to Mobile Safari
    // Courtesy https://gist.github.com/kylebarrow/1042026
    if(("standalone" in window.navigator) && window.navigator.standalone){

      var noddy, remotes = false;

      document.addEventListener('click', function(event) {

        noddy = event.target;

        // Bubble up until we hit link or top HTML element. Warning: BODY element is not compulsory so better to stop on HTML
        while(noddy.nodeName !== "A" && noddy.nodeName !== "HTML") {
          noddy = noddy.parentNode;
        }

        if('href' in noddy && noddy.href.indexOf('http') !== -1 && (noddy.href.indexOf(document.location.host) !== -1 || remotes)) {
          event.preventDefault();
          document.location.href = noddy.href;
        }

      },false);
    }
  </script>
  {{/apple-mobile-web}}
  
  {{/config}}
  {{> syntax_highlighting.html }}
</head>
<body>
  <h1><a href="index.html">{{config.title}}</a></h1>
  {{#config}}
    {{#author}}
      <p class="byline">by {{config.author}}</p>
    {{/author}}
  {{/config}}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookingit-0.3.0 templates/header.html.mustache