2013-05-28 02:15:01 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
|
|
<!--[if gt IE 8]><!--><html class="no-js" lang="en" > <!--<![endif]-->
|
|
|
|
<head>
|
|
|
|
<!-- meta -->
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width" />
|
|
|
|
<meta name="description" content="{{ SITE_DESCR }}" />
|
|
|
|
<meta name="keywords" content="{{ SITE_KEY }}" />
|
|
|
|
<meta name="author" content="{{ AUTHOR }}" />
|
|
|
|
|
|
|
|
<!-- title -->
|
|
|
|
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
|
|
|
|
|
|
|
|
<!-- Stylesheets -->
|
2013-07-14 04:58:23 +00:00
|
|
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/app.css" />
|
2013-05-28 02:15:01 +00:00
|
|
|
|
|
|
|
<!-- Favicon -->
|
2013-07-14 04:58:23 +00:00
|
|
|
<link rel="shortcut icon" href="{{ SITEURL }}/{{ FAVICON }}" />
|
2013-05-28 02:15:01 +00:00
|
|
|
|
|
|
|
<!-- RSS/ATOM -->
|
|
|
|
{% if FEED -%}
|
2013-07-14 04:58:23 +00:00
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
|
2013-05-28 02:15:01 +00:00
|
|
|
{% endif %}
|
|
|
|
{%if FEED_RSS -%}
|
2013-07-14 04:58:23 +00:00
|
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
2013-05-28 02:15:01 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Modernizr -->
|
2013-07-14 04:58:23 +00:00
|
|
|
<script data="{{ SITEURL }}/theme/js/vendor/" src="{{ SITEURL }}/theme/js/vendor/custom.modernizr.js"></script>
|
2013-05-28 02:15:01 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2013-07-14 04:58:23 +00:00
|
|
|
<header class="fixed">
|
|
|
|
<nav class="top-bar">
|
|
|
|
<ul class="title-area">
|
|
|
|
<!-- Title Area -->
|
|
|
|
<li class="name">
|
|
|
|
<h1><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1>
|
|
|
|
</li>
|
|
|
|
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
|
|
|
|
</ul>
|
|
|
|
<section class="top-bar-section">
|
|
|
|
<!-- Menu -->
|
|
|
|
<ul class="left">
|
|
|
|
{% for item, url in MENUITEMS %}
|
|
|
|
<li><a href="{{ url }}">{{ item|title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% if DISPLAY_PAGES_ON_MENU != False %}
|
|
|
|
{% if DISPLAY_PAGES_ON_MENU == 'Compact' %}
|
|
|
|
<li class="has-dropdown"><a href="">Pages</a>
|
|
|
|
<ul class="dropdown">
|
|
|
|
{% for p in PAGES %}
|
|
|
|
<li {% if p == page %} class='active'{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% if DISPLAY_PAGES_ON_MENU == 'Expanded' %}
|
|
|
|
{% for p in PAGES %}
|
|
|
|
<li {% if p == page %} class='active'{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% if DISPLAY_CATEGORIES_ON_MENU != False %}
|
|
|
|
{% if DISPLAY_CATEGORIES_ON_MENU == 'Compact' %}
|
|
|
|
<li class="has-dropdown"><a href="{{ SITEURL }}/categories.html">Categories</a>
|
|
|
|
<ul class="dropdown">
|
|
|
|
{% for cat, null in categories %}
|
|
|
|
<li {% if cat == category %} class='active'{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat.name|title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% if DISPLAY_CATEGORIES_ON_MENU == 'Expanded' %}
|
|
|
|
{% for cat, null in categories %}
|
|
|
|
<li {% if cat == category %} class='active'{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat.name|title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
<li><a href="{{ SITEURL }}/archives.html">Archives</a></li>
|
|
|
|
</ul>
|
|
|
|
<!-- Social Links -->
|
|
|
|
<ul class="right">
|
|
|
|
{% if SOCIAL %}
|
|
|
|
{% include '_site_social.html' %}
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<!-- Content Area -->
|
|
|
|
<div class="row">
|
|
|
|
<section class="large-9 columns">
|
|
|
|
<header>
|
|
|
|
<h1>{% block content_title %}{% endblock %}</h1>
|
|
|
|
</header>
|
|
|
|
{% block content %}
|
|
|
|
<ul class="no-bullet">
|
|
|
|
{% for article in articles_page.object_list %}
|
|
|
|
<li><article>
|
|
|
|
<header><h1>{{ article.title|title }}</h1></header>
|
|
|
|
{{ article.summary }}
|
|
|
|
<footer>{{ article.author }}</footer>
|
|
|
|
</article></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|
|
</section>
|
|
|
|
<aside class="large-3 columns">
|
|
|
|
{% block aside %}{% endblock %}
|
|
|
|
</aside>
|
|
|
|
</div>
|
2013-05-28 02:15:01 +00:00
|
|
|
<footer class="row">
|
2013-07-14 04:58:23 +00:00
|
|
|
<div class="large-12 columns" id="footer">
|
2013-05-28 02:15:01 +00:00
|
|
|
<span><a href="">© {{ AUTHOR }} 2013</a></span>
|
|
|
|
</div>
|
|
|
|
</footer>
|
2013-07-14 04:58:23 +00:00
|
|
|
<script src="{{ SITEURL }}/theme/js/app.js"></script>
|
2013-05-28 02:15:01 +00:00
|
|
|
|
|
|
|
<!-- Tracking Code -->
|
2013-07-14 04:58:23 +00:00
|
|
|
{% if GOOGLE_ANALYTICS %}
|
|
|
|
{% include _google_analytics.html %}
|
2013-05-28 02:15:01 +00:00
|
|
|
{% endif %}
|
2013-07-14 04:58:23 +00:00
|
|
|
{% if GO_SQUARED %}
|
|
|
|
{% include _gosquared.html %}
|
2013-05-28 02:15:01 +00:00
|
|
|
{% endif %}
|
|
|
|
</body>
|
|
|
|
</html>
|