2013-05-28 02:15:01 +00:00
<!DOCTYPE html>
2013-07-30 18:48:42 +00:00
<!-- [if IE 8]><html class="no - js lt - ie9" lang="en" itemscope itemtype="http://schema.org/WebPage" > <![endif] -->
<!-- [if gt IE 8]><! --> < html class = "no-js" lang = "{{ DEFAULT_LANG }}" itemscope itemtype = "http://schema.org/WebPage" > <!-- <![endif] -->
2013-05-28 02:15:01 +00:00
< head >
<!-- meta -->
< meta charset = "utf-8" / >
< meta name = "viewport" content = "width=device-width" / >
2013-07-30 18:48:42 +00:00
{# Get a generic title element #}
{% set page_title = article.title if article else page.title if page else category.name if category else tag.name if tag else author.name if author else page_name|title %}
{# fetch description, tags, author from article, page or CONFIGURATION file #}
2013-07-30 19:30:09 +00:00
{% set page_descrip = article.summary|striptags if article else page.summary|striptags if page else PAGE_DESC[page_title.lower()]|default(SITE_DESCR) if PAGE_DESC else SITE_DESCR %}
2013-07-30 18:48:42 +00:00
{% set page_tags = article.tags|join(', ') if (article and article.tags) else page.tags|join(', ') if (page and page.tags) else SITE_KEY %}
{% set page_author = article.author if article else page.author if page else AUTHOR %}
< meta name = "description" itemprop = "description" content = "{{ page_descrip }}" / >
< meta name = "keywords" itemprop = "keywords" content = "{{ page_tags }}" / >
< meta name = "author" itemprop = "author" content = "{{ page_author }}" / >
< meta name = "organization" itemprop = "sourceOrganization" content = "{{ SITENAME }}" / >
< meta name = "publisher" itemprop = "publisher" content = "{{ SITENAME }}" / >
< meta name = "language" itemprop = "inLanguage" content = "{{ DEFAULT_LANG }}" / >
2013-05-28 02:15:01 +00:00
<!-- title -->
2013-07-30 18:48:42 +00:00
< title itemprop = "name" > {% block title %}{{ SITENAME }}{{ ' - '+page_title if not page_title.lower() =='index' }}{% endblock %}< / title >
< meta itemprop = "url" content = "{{ SITEURL+'/'+output_file }}" / >
2013-05-28 02:15:01 +00:00
<!-- Stylesheets -->
2013-07-14 04:58:23 +00:00
< link rel = "stylesheet" href = "{{ SITEURL }}/theme/css/app.css" / >
2013-07-29 09:58:17 +00:00
<!-- Fonts -->
< link href = 'http://fonts.googleapis.com/css?family=Source+Code+Pro|Open+Sans' rel = 'stylesheet' type = 'text/css' >
2013-05-28 02:15:01 +00:00
<!-- Favicon -->
2013-07-30 18:48:42 +00:00
< link rel = "shortcut icon" href = "{{ SITEURL }}/{{ FAVICON }}" itemprop = "thumbnailUrl" / >
2013-05-28 02:15:01 +00:00
<!-- RSS/ATOM -->
2013-07-30 18:48:42 +00:00
{% include '_feeds.html' %}
2013-05-28 02:15:01 +00:00
<!-- 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-30 18:48:42 +00:00
<!-- Navigation -->
{% include '_navigation.html' %}
2013-07-29 09:58:17 +00:00
<!-- Content Area -->
< div class = "row" >
< div id = "main" class = "large-13 columns push-3" >
< section >
2013-07-30 18:48:42 +00:00
< header itemscope itemtype = "http://schema.org/WPHeader" >
{% block content_title %}
< h1 itemprop = "name" > < a href = "{{ SITEURL+'/'+output_file }}" rel = "bookmark" title = "Bookmark to {{ page_title }}" > {{ page_title if not page_title.lower()=='index' else SITENAME }}< / a > < / h1 >
{% endblock %}
2013-07-29 20:09:35 +00:00
< h2 class = "print_header subheader" > From: < a href = "{{ SITEURL }}" > {{ SITENAME }}< / a > < / h2 >
2013-07-29 09:58:17 +00:00
{% block content_image %}{% endblock %}
< / header >
{% block content %}
2013-07-30 18:48:42 +00:00
< ul class = "item-list" itemscope itemtype = "http://schema.org/ItemList" >
< meta itemprop = "name" content = "Article List" / >
2013-07-29 09:58:17 +00:00
{% for article in articles_page.object_list %}
{% include '_list_item.html' %}
{% endfor %}
< / ul >
2013-07-29 20:09:35 +00:00
{% if DEFAULT_PAGINATION and articles_paginator.num_pages>1 %}
{% include '_pagination.html' %}
{% endif %}
2013-07-28 09:43:18 +00:00
{% endblock %}
2013-07-29 09:58:17 +00:00
< / section >
< / div >
< div id = "mainAside" class = "large-3 columns pull-13" >
2013-07-30 18:48:42 +00:00
< aside itemscope itemtype = "http://schema.org/WPSideBar" >
< meta itemprop = "name" content = "{{ SITENAME }} Sidebar" / >
2013-07-29 09:58:17 +00:00
{% block aside %}
{% if GOOGLE_SEARCH %}
{% include '_google_search.html' %}
{% endif %}
< h3 > Blog Links< / h3 >
2013-07-30 18:48:42 +00:00
< ul id = 'blogRoll' class = "no-bullet" itemscope itemtype = "http://schema.org/ItemList" >
2013-07-29 20:09:35 +00:00
{% if INCLUDE_CATS_LINK %}
2013-07-30 18:48:42 +00:00
< li itemprop = "itemListElement" > < a href = "{{ SITEURL }}/categories.html" > Categories< / a > < / li >
2013-07-29 20:09:35 +00:00
{% endif %}
{% if INCLUDE_TAGS_LINK %}
2013-07-30 18:48:42 +00:00
< li itemprop = "itemListElement" > < a href = "{{ SITEURL }}/tags.html" > Tags< / a > < / li >
2013-07-29 20:09:35 +00:00
{% endif %}
{% if INCLUDE_ARCH_LINK %}
2013-07-30 18:48:42 +00:00
< li itemprop = "itemListElement" > < a href = "{{ SITEURL }}/archives.html" > Archives< / a > < / li >
2013-07-29 20:09:35 +00:00
{% endif %}
{% if INCLUDE_AUTH_LINK %}
2013-07-30 18:48:42 +00:00
< li itemprop = "itemListElement" > < a href = "{{ SITEURL }}/authors.html" > Authors< / a > < / li >
2013-07-29 20:09:35 +00:00
{% endif %}
2013-07-29 09:58:17 +00:00
{% for link in LINKS %}
2013-07-30 18:48:42 +00:00
< li itemprop = "itemListElement" > < a class = "external" href = "{{ link[1] }}" > {{ link[0] }}< / a > < / li >
2013-07-29 09:58:17 +00:00
{% endfor %}
< / ul >
{% endblock %}
< / aside >
< / div >
< / div >
2013-07-30 18:48:42 +00:00
< footer class = "row" >
2013-07-28 09:43:18 +00:00
< div class = "large-16 columns" id = "mainFooter" >
2013-07-29 20:09:35 +00:00
< span class = "print_footer" > < a href = "{{ SITEURL }}/{{ output_file }}" > Fetched from: {{ output_file }}< / a > on {{ NOW.isoformat() }}< / span >
2013-07-30 18:48:42 +00:00
© < span itemprop = "copyrightHolder" > {{ COPYRIGHT_HOLDER|default(AUTHOR) }} < / span > < span itemprop = "copyrightYear" > {{ COPYRIGHT_YEAR }}< / span >
2013-05-28 02:15:01 +00:00
< / 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 %}
2013-07-29 09:58:17 +00:00
{% include '_google_analytics.html' %}
2013-05-28 02:15:01 +00:00
{% endif %}
2013-07-14 04:58:23 +00:00
{% if GO_SQUARED %}
2013-07-29 09:58:17 +00:00
{% include '_gosquared.html' %}
{% endif %}
<!-- Comment Count -->
{% if DISQUS_SN %}
< script type = "text/javascript" >
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{DISQUS_SN}}'; // 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 >
2013-05-28 02:15:01 +00:00
{% endif %}
< / body >
< / html >