Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 149 lines (132 sloc) 6.1 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
{% if page.tagline %}
<meta name="tagline" content="{{ page.tagline }}">
{% endif %}
<meta name="author" content="{{ site.author.name }}" />
<!-- Twitter cards -->
<meta name="twitter:card" content="summary"/>
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
<meta name="twitter:title" content="{{ page.title }}" />
{% if page.description %}<meta name="twitter:description" content="{{ page.tagline }}" />{% endif %}
{% if page.image %}
<meta name="twitter:image:src" content="{{ site.BASE_PATH }}/assets/media/{{ page.image }}"/>
{% else %}
<meta name="twitter:image:src" content="{{ site.BASE_PATH }}/assets/media/placeholder_card.png"/>
{% endif %}
<!-- OpenGraph tags -->
<meta property="og:type" content="article"/>
<meta property="og:url" content="{{ site.BASE_PATH }}{{ post.url }}"/>
<meta property="og:title" content="{{ page.title }}"/>
<meta property="og:site_name" content="{{ site.title }}"/>
<meta property="og:description" content="{{ page.tagline}}"/>
{% if page.image %}
<meta property="og:image" content="{{ site.BASE_PATH }}/assets/media/{{ page.image }}"/>
{% else %}
<meta property="og:image" content="{{ site.BASE_PATH }}/assets/media/placeholder_card.png"/>
{% endif %}
<!-- Other tags -->
<meta name="keywords" content="{{ site.keywords }} {{ page.tags }}"/>
<meta itemprop="name" content="{{ page.title }}"/>
<meta name="description" content="{{ page.tagline }}"/>
{% if page.image %}
<meta itemprop="image" content="{{ site.BASE_PATH }}/assets/media/{{ page.image }}"/>
{% else %}
<meta itemprop="image" content="{{ site.BASE_PATH }}/assets/media/placeholder_card.png"/>
{% endif %}
<!-- Enable responsive viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="MobileOptimized" content="320"/>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="{{ site.BASE_PATH }}/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ site.BASE_PATH }}/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="{{ site.BASE_PATH }}/assets/resources/syntax/syntax.css" rel="stylesheet">
<link href="{{ site.BASE_PATH }}/assets/css/style.css" rel="stylesheet">
<!-- Le fav and touch icons -->
<!-- Update these with your own images -->
<link rel="shortcut icon" href="/assets/ico/favicon.ico">
<!--<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
-->
<link rel="alternate" type="application/rss+xml" title="{{ site.name }}" href="{{ site.BASE_PATH }}/feed.xml">
</head>
<body>
<nav class="navbar navbar-default visible-xs" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
{% if site.author.github %}
<a type="button" class="navbar-toggle nav-link" href="http://github.com/{{ site.author.github }}">
<i class="fa fa-github"></i>
</a>
{% endif %}
{% if site.author.twitter %}
<a type="button" class="navbar-toggle nav-link" href="http://twitter.com/{{ site.author.twitter }}">
<i class="fa fa-twitter"></i>
</a>
{% endif %}
{% if site.author.email %}
<a type="button" class="navbar-toggle nav-link" href="mailto:{{ site.author.email }}">
<i class="fa fa-envelope"></i>
</a>
{% endif %}
<a class="navbar-brand" href="{{ site.BASE_PATH }}/">
<img src="http://www.gravatar.com/avatar/{{site.author.email_md5}}?s=35" class="img-circle" />
{{ site.title }}
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="{{ site.BASE_PATH }}/">Home</a></li>
<li><a href="{{ site.BASE_PATH}}/{{ site.categories_path }}">Categories</a></li>
<li><a href="{{ site.BASE_PATH}}/{{ site.tags_path }}">Tags</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</nav>
<!-- nav-menu-dropdown -->
<div class="btn-group hidden-xs" id="nav-menu">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bars"></i>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ site.BASE_PATH}}/"><i class="fa fa-home"></i>Home</a></li>
<li><a href="{{ site.BASE_PATH}}/{{ site.categories_path }}"><i class="fa fa-folder"></i>Categories</a></li>
<li><a href="{{ site.BASE_PATH}}/{{ site.tags_path }}"><i class="fa fa-tags"></i>Tags</a></li>
<li class="divider"></li>
<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
</ul>
</div>
<div class="col-sm-3 sidebar hidden-xs">
{% include sidebar.html %}
</div>
<div class="col-sm-9 col-sm-offset-3">
{{ content }}
{% include comments.html %}
<footer>
<hr/>
<p>
&copy; {{ site.time | date: '%Y' }} {{ site.author.name }} with Jekyll. Theme: <a href="https://github.com/dbtek/dbyll">dbyll</a> by dbtek.
</p>
</footer>
</div>
<script type="text/javascript" src="{{ site.BASE_PATH }}/assets/resources/jquery/jquery.min.js"></script>
<script type="text/javascript" src="{{ site.BASE_PATH }}/assets/resources/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{{ site.BASE_PATH }}/assets/js/app.js"></script>
{% include google_analytics.html %}
</body>
</html>