<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" /><title>{% block title %}Index{% endblock %} |  {{ site.title }}</title>
<meta name="author" content="{{ site.author }}">
<meta name="description" content="{% if post %}{{ post.html | striptags | truncate(length=255 ,killwords=False)}}{% elif page %}{{ page.html | striptags | truncate(length=255 ,killwords=False)}}{% else %}{{ site.description }}{% endif %}">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta property="og:site_name" content=""/>

<link rel="stylesheet" href="{{ site.url }}/css/style.css" type="text/css" />
<link rel="stylesheet" href="{{ site.url }}/css/pygments.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Audiowide' rel='stylesheet' type='text/css'>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

<style>
#featured .flex-direction-nav a:hover, #video-slider-section .flex-direction-nav a:hover { background-color: #ffb600; }
#featured_section .active-slide .post-meta, #featured_section .switcher_hover .post-meta, .et_tab_link_hover .post-meta { background: #0099FF; }
h3.main-title { background-color: #0099FF; -moz-box-shadow: inset 0 0 10px #0099FF; -webkit-box-shadow: inset 0 0 10px #0099FF; box-shadow: inset 0 0 10px #0099FF; border: 1px solid #0099FF; }
a { color: #0099FF; }
.et_video_play { background-color: #0099FF; }
#second-menu > ul > li > a:hover { background-color: #0099FF; }
#second-menu ul ul li a:hover { background-color: #ffb122; }
#second-menu ul.nav li ul { background: #0099FF; }
#second-menu ul ul li a { border-top: 1px solid #0099FF; }
</style>

</head>

<body>
<div class="container">
    <div id="logo-area">
        <a href="{{ site.url }}">
            <h1>{{ site.title }}</h1>
            <p>{{ site.subtitle }}</p>
        </a>
    </div>
</div>

<div id="menu">
    <div class="container">
        {% include "_layout/navbar.html" %}
    </div>
</div>

<div id="main-area">
    <div class="container">
        <div id="content-area" class="clearfix">
            <div id="left-area">

                {% block content %}
                {% endblock %}
            </div>

            <div id="sidebar">
                {% include "_layout/sidebar.html" %}
            </div>

        </div>


    </div>
</div>

{% include "_layout/footer.html" %}

{% if site.comment_system == "disqus" %}
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_short_name }}'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
 var s = document.createElement('script'); s.async = true;
 s.type = 'text/javascript';
 s.src = '//' + disqus_shortname + '.disqus.com/count.js';
 (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
 }());
</script>
{% elif site.comment_system == "duoshuo" %}
{% endif %}

</body>
</html>
