Sha256: 884525cc085571c6ddca0dcd480d83bb6bd14ee8ae0c1de8a67524ed7ba537bd

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script type="text/javascript">
    (function() {
      // redirect from http://thelonelyghost.gitlab.io/blog/foo -> https://blog.thelonelyghost.com/foo
      // Someday this will be scripted into something with better hooks into Jekyll
      if(window.location.hostname == 'thelonelyghost.gitlab.io' && (window.location.pathname || '').match(/^\/?blog\/?/i)) {
        var path = (function(pathname) {
          var parts = pathname.split('/');
          while(parts.length > 0 && (parts[0] == '' || parts[0] == 'blog')) parts.shift();
          return parts.length > 0 ? parts.join('/') : '';
        })(window.location.pathname);
        path += window.location.search;
        path += window.location.hash;
        window.location = 'https://blog.thelonelyghost.com/' + path;
      }
    })();
  </script>
  {% if site.features.https_only == true %}
    <script type="text/javascript" src="{{ "/assets/js/https.js" | relative_url }}"></script>
  {% endif %}

  <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
  <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">

  <link rel="stylesheet" href="{{ "/assets/favicon.png" | relative_url }}">
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
  <!--[if lte IE 9]><link rel="stylesheet" href="{{ "/assets/css/ie9.css" | relative_url }}" /><![endif]-->

  <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
  <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">

  {% if jekyll.environment == 'production' and site.google_analytics %}
  {% include google-analytics.html %}
  {% endif %}
</head>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phantom-blergh-0.1.1 _includes/head.html
phantom-blergh-0.1.0 _includes/head.html