4     <meta charset="utf-8" />
 
   5     <title>{% block title %}{% endblock %} | {{ SITENAME }}</title>
 
   6     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 
   7     <meta name="keywords" content="{{ KEYWORDS }}" />
 
   8     <meta name="author" content="{{ AUTHOR }}" />
 
  10     <link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.min.css" type="text/css" />
 
  11     <link href="{{ SITEURL }}/theme/css/bootstrap-responsive.min.css" rel="stylesheet">
 
  12     <link href="{{ SITEURL }}/theme/css/font-awesome.css" rel="stylesheet">
 
  13     <link href="{{ SITEURL }}/theme/css/pygments.css" rel="stylesheet">
 
  14     <style type="text/css">
 
  42     <link rel="shortcut icon" href="{{ SITEURL }}/theme/img/favicon.ico">
 
  43     <link rel="apple-touch-icon" href="{{ SITEURL }}/theme/img/apple-touch-icon.png">
 
  44     <link rel="apple-touch-icon" sizes="72x72" href="{{ SITEURL }}/theme/img/apple-touch-icon-72x72.png">
 
  45     <link rel="apple-touch-icon" sizes="114x114" href="{{ SITEURL }}/theme/img/apple-touch-icon-114x114.png">
 
  47     <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
 
  49     <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
 
  52         <link rel="canonical" href="{{ SITEURL }}/{{ page.url }}">
 
  54         <link rel="canonical" href="{{ SITEURL }}/{{ article.url }}">
 
  55     {% elif page_name == 'index' and not articles_previous_page %}
 
  56         <link rel="canonical" href="{{ SITEURL }}">
 
  57     {% elif author or category or tag or page_name == 'index' %}
 
  58         <link rel="canonical" href="{{ SITEURL }}/{{ articles_page.url }}">
 
  62     <div class="navbar navbar-fixed-top">
 
  63       <div class="navbar-inner">
 
  64         <div class="container-fluid">
 
  65           <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
 
  66             <span class="icon-bar"></span>
 
  67             <span class="icon-bar"></span>
 
  68             <span class="icon-bar"></span>
 
  70           <a class="brand" href="{{ SITEURL }}/">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a>
 
  71           <div class="nav-collapse">
 
  73             {% for title, link in MENUITEMS %}
 
  74               <li><a href="{{ link }}">{{ title }}</a></li>
 
  76             {% if DISPLAY_PAGES_ON_MENU %}
 
  77             {% for gpage in pages %}
 
  78               <li {% if page == gpage %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ gpage.url }}">{{ gpage.title }}</a></li>
 
  80               <li class="divider-vertical"></li>
 
  82             {% for cat, null in categories %}
 
  83               <li {% if cat == category %}class="active"{% endif %}>
 
  84                 <a href="{{ SITEURL }}/{{ cat.url }}"><i class="icon-folder-open icon-large"></i>{{ cat }}</a>
 
  87             <!--<ul class="nav pull-right">
 
  88                   <li><a href="{{ SITEURL }}/{{ ARCHIVES_URL }}"><i class="icon-th-list"></i>Archives</a></li>
 
  96     <div class="container">
 
  98         <div class="span8" id="content">
 
 102         <div class="span3 well sidebar-nav" id="sidebar">
 
 103             {% include 'sidebar.html' %}
 
 107       {% include 'footer.html' %}
 
 110     <!-- Placed at the end of the document so the pages load faster -->
 
 111     <script src="{{ SITEURL }}/theme/js/jquery-1.7.2.min.js"></script>
 
 112     <script src="{{ SITEURL }}/theme/js/bootstrap.min.js"></script>