2014-12-10 17:17:48 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ DEFAULT_LANG }}">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
{% block head %}
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
2016-01-17 14:52:35 +00:00
|
|
|
{% if GOOGLE_SITE_VERIFICATION %}
|
|
|
|
<meta name="google-site-verification" content="{{ GOOGLE_SITE_VERIFICATION }}">
|
|
|
|
{% endif %}
|
|
|
|
|
2016-01-18 20:52:28 +00:00
|
|
|
<title>{% block title %}{{ SITENAME }}{% if SITESUBTITLE and SHOW_SITESUBTITLE_IN_HTML %} - {{ SITESUBTITLE }}{% endif %}{% endblock title %}</title>
|
2014-12-10 17:17:48 +00:00
|
|
|
|
2016-02-12 12:14:26 +00:00
|
|
|
{% for name,link in SOCIAL if name in ['rss', 'rss-square'] %}
|
|
|
|
<link href="{{ link }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
|
|
|
|
{% else %}
|
2014-12-10 17:17:48 +00:00
|
|
|
{% if FEED_ALL_ATOM %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEED_ALL_RSS %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEED_ATOM %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if FEED_RSS %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if CATEGORY_FEED_ATOM and category %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if CATEGORY_FEED_RSS and category %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if TAG_FEED_ATOM and tag %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
|
|
|
|
{% endif %}
|
|
|
|
{% if TAG_FEED_RSS and tag %}
|
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
|
|
|
|
{% endif %}
|
2016-02-12 12:14:26 +00:00
|
|
|
{% endfor %}
|
2014-12-10 17:17:48 +00:00
|
|
|
<!-- Bootstrap Core CSS -->
|
2014-12-10 17:37:34 +00:00
|
|
|
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bootstrap.min.css" rel="stylesheet">
|
2014-12-10 17:17:48 +00:00
|
|
|
|
|
|
|
<!-- Custom CSS -->
|
2014-12-10 17:37:34 +00:00
|
|
|
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/clean-blog.min.css" rel="stylesheet">
|
2014-12-10 17:17:48 +00:00
|
|
|
|
2014-12-10 18:21:25 +00:00
|
|
|
<!-- Code highlight color scheme -->
|
|
|
|
{% if COLOR_SCHEME_CSS %}
|
|
|
|
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/code_blocks/{{ COLOR_SCHEME_CSS }}" rel="stylesheet">
|
|
|
|
{% else %}
|
|
|
|
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/code_blocks/darkly.css" rel="stylesheet">
|
|
|
|
{% endif %}
|
|
|
|
|
2015-11-25 22:34:35 +00:00
|
|
|
{% if CSS_OVERRIDE %}
|
|
|
|
<!-- CSS specified by the user -->
|
|
|
|
<link href="{{ SITEURL }}/{{ CSS_OVERRIDE }}" rel="stylesheet">
|
|
|
|
{% endif %}
|
|
|
|
|
2014-12-10 17:17:48 +00:00
|
|
|
<!-- Custom Fonts -->
|
2016-02-01 20:06:27 +00:00
|
|
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
2016-01-10 16:19:22 +00:00
|
|
|
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
|
|
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
2014-12-10 17:17:48 +00:00
|
|
|
|
|
|
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
{% endblock head %}
|
2015-09-05 02:14:31 +00:00
|
|
|
|
|
|
|
{% block opengraph %}
|
2016-01-17 15:12:00 +00:00
|
|
|
{% for LOC in LOCALE %}
|
|
|
|
<meta property="og:locale" content="{{ LOC }}">
|
|
|
|
{% endfor %}
|
2015-09-05 02:14:31 +00:00
|
|
|
<meta property="og:site_name" content="{{ SITENAME }}">
|
|
|
|
{% endblock opengraph %}
|
2016-02-06 17:14:41 +00:00
|
|
|
{% block twitter_card %}
|
|
|
|
{% if TWITTER_HANDLE %}
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:site" content="@{{ TWITTER_HANDLE }}" />
|
|
|
|
<meta name="twitter:title" content="{{ SITENAME }}" />
|
2016-02-06 17:19:49 +00:00
|
|
|
{% if SITESUBTITLE %}
|
|
|
|
<meta name="twitter:description" content="{{ SITESUBTITLE }}" />
|
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:description" content="View the blog." />
|
|
|
|
{% endif %}
|
2016-02-06 17:14:41 +00:00
|
|
|
{% if HEADER_COVER %}
|
|
|
|
<meta name="twitter:image" content="{{ SITEURL }}/{{ HEADER_COVER }}">
|
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/post-bg.jpg">
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock twitter_card %}
|
2014-12-10 17:17:48 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<!-- Navigation -->
|
|
|
|
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<!-- Brand and toggle get grouped for better mobile display -->
|
|
|
|
<div class="navbar-header page-scroll">
|
|
|
|
<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>
|
|
|
|
<a class="navbar-brand" href="{{ SITEURL }}/">{{ SITENAME }}</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 navbar-right">
|
|
|
|
{% for title, link in MENUITEMS %}
|
|
|
|
<li><a href="{{ link }}">{{ title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% if DISPLAY_PAGES_ON_MENU %}
|
|
|
|
{% for p in PAGES %}
|
|
|
|
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{% if DISPLAY_CATEGORIES_ON_MENU %}
|
|
|
|
{% for cat, null in categories %}
|
|
|
|
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- /.navbar-collapse -->
|
|
|
|
</div>
|
|
|
|
<!-- /.container -->
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
{% block header %}{% endblock header %}
|
|
|
|
|
|
|
|
<!-- Main Content -->
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
|
|
{% block content %}{% endblock content %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<!-- Footer -->
|
|
|
|
<footer>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
|
|
<ul class="list-inline text-center">
|
2016-01-10 15:38:16 +00:00
|
|
|
{% if SOCIAL %}
|
|
|
|
{% for name,link in SOCIAL %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ link }}">
|
|
|
|
<span class="fa-stack fa-lg">
|
|
|
|
<i class="fa fa-circle fa-stack-2x"></i>
|
|
|
|
<i class="fa fa-{{ name|lower }} fa-stack-1x fa-inverse"></i>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
2015-11-25 22:34:35 +00:00
|
|
|
{% endif %}
|
2014-12-10 17:17:48 +00:00
|
|
|
</ul>
|
2016-01-17 15:34:48 +00:00
|
|
|
{% if FOOTER_INCLUDE %}
|
|
|
|
{% include FOOTER_INCLUDE %}
|
|
|
|
{% else %}
|
|
|
|
{% include 'footer.html' %}
|
|
|
|
{% endif %}
|
2014-12-10 17:17:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<!-- jQuery -->
|
2014-12-10 17:37:34 +00:00
|
|
|
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/jquery.js"></script>
|
2014-12-10 17:17:48 +00:00
|
|
|
|
|
|
|
<!-- Bootstrap Core JavaScript -->
|
2014-12-10 17:37:34 +00:00
|
|
|
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/bootstrap.min.js"></script>
|
2014-12-10 17:17:48 +00:00
|
|
|
|
2015-11-25 22:34:35 +00:00
|
|
|
{% if not DISABLE_CUSTOM_THEME_JAVASCRIPT %}
|
|
|
|
<!-- Custom Theme JavaScript -->
|
|
|
|
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/clean-blog.min.js"></script>
|
|
|
|
{% endif %}
|
2014-12-10 17:17:48 +00:00
|
|
|
|
2014-12-11 00:30:35 +00:00
|
|
|
{% include 'analytics.html' %}
|
|
|
|
{% include 'disqus_script.html' %}
|
2014-12-10 17:17:48 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|