Skip to content

Instantly share code, notes, and snippets.

@redfrost
Created March 24, 2014 23:03
Show Gist options
  • Save redfrost/9751210 to your computer and use it in GitHub Desktop.
Save redfrost/9751210 to your computer and use it in GitHub Desktop.
RFBP Master Template: Header
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--
|~)[~|~\|~|~)/~\(~~|~
|~\[_|_/|~|~\\_/_) |
When you look into an abyss, the abyss also looks into you.
-->
<!-- Site info -->
<title>{% if page.title %} {{ page.title }} | {% endif %}{{site.name}}</title>
<meta property="og:site_name" content="{{site.name}}" />
<meta property="og:title" content="{{page.title}}" />
<meta property="og:url" content="{{site.url}}" />
<meta property="og:description" name="description" content="{{site.description}}" />
<meta property="og:type" content="website" />{% if site.fbAppID == empty %}{% else %}
<meta property="fb:app_id" content="{{site.FBAppID}}" />{% endif %}
<!-- User info -->
<meta name="author" content="{{site.author}}">
<meta name="designer" content="{{site.designer}}">
<meta name="dcterms.rightsHolder" content="(c) {{site.copyright}}">
<meta name="keywords" content="{{site.keywords}}">
<!-- Icons -->
<link rel="shortcut icon" href="assets/icons/favicon.ico">
<link rel="apple-touch-icon-precomposed" href="assets/icons/apple-touch-icon.png">
<meta property="og:image" content="{{site.url}}assets/icons/thumbnail.png" />
<!-- Style -->
<script src="assets/javascripts/vendor/modernizr.js"></script>
<link rel="stylesheet" href="assets/stylesheets/base.css">
<link rel="stylesheet" href="assets/stylesheets/application.css">{% if site.styleTest == 'yes' %}
<link rel="stylesheet" href="assets/stylesheets/test.css">{% else %}{% endif %}
{% if site.typekitID == empty %}{% else %}
<!-- Typekit -->
<script type="text/javascript" src="//use.typekit.net/{{site.typekitID}}.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>{% endif %}
<!-- Layout setting -->{% if site.responsive == 'yes' %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale={{site.mobileZoom}}">{% else %}
<meta name="viewport" content="width=1025">{% endif %}
<!-- Search Engine Indexing -->{% if site.siteIndexing == 'yes' %}
<meta name="robots" content="index, follow">{% else %}
<meta name="robots" content="noindex, nofollow">{% endif %}
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment