2014-12-29 22:08:56 +00:00
<!DOCTYPE html>
2015-01-09 18:56:22 +00:00
{% if article %}
<!-- [if lt IE 7]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9 lt - ie8 lt - ie7" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/BlogPosting"> <![endif] -->
<!-- [if IE 7]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9 lt - ie8" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/BlogPosting"> <![endif] -->
<!-- [if IE 8]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/BlogPosting"> <![endif] -->
<!-- [if gt IE 8]><! --> < html lang = "{{ DEFAULT_LANG }}" class = "no-js" prefix = "og: http://ogp.me/ns#" itemscope itemtype = "http://schema.org/BlogPosting" > <!-- <![endif] -->
{% elif page %}
<!-- [if lt IE 7]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9 lt - ie8 lt - ie7" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/WebPage"> <![endif] -->
<!-- [if IE 7]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9 lt - ie8" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/WebPage"> <![endif] -->
<!-- [if IE 8]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/WebPage"> <![endif] -->
<!-- [if gt IE 8]><! --> < html lang = "{{ DEFAULT_LANG }}" class = "no-js" prefix = "og: http://ogp.me/ns#" itemscope itemtype = "http://schema.org/WebPage" > <!-- <![endif] -->
{% else %}
<!-- [if lt IE 7]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9 lt - ie8 lt - ie7" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/Blog"> <![endif] -->
<!-- [if IE 7]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9 lt - ie8" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/Blog"> <![endif] -->
<!-- [if IE 8]> <html lang="{{ DEFAULT_LANG }}" class="no - js lt - ie9" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://schema.org/Blog"> <![endif] -->
<!-- [if gt IE 8]><! --> < html lang = "{{ DEFAULT_LANG }}" class = "no-js" prefix = "og: http://ogp.me/ns#" itemscope itemtype = "http://schema.org/Blog" > <!-- <![endif] -->
{% endif %}
2014-12-29 22:08:56 +00:00
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
2015-01-01 20:06:34 +00:00
< title > {% block title %}{{ SITENAME }}{% endblock %}< / title >
2014-12-29 22:08:56 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2015-01-01 20:06:34 +00:00
< meta name = "description" content = "{% block description %}{{ DESCRIPTION }}{% endblock %}" >
2017-08-09 00:11:13 +00:00
{% if FAVICON %}< link rel = "shortcut icon" href = "{{ SITEURL }}/{{ FAVICON }}" type = "{{ FAVICON_TYPE|default('image/x-icon') }}" > {% endif %}
2014-12-29 22:08:56 +00:00
< meta name = "author" content = "{{ AUTHOR }}" >
< meta name = "copyright" content = "{{ AUTHOR }}" >
2015-01-01 11:37:30 +00:00
< meta name = "twitter:card" content = "summary" / >
2015-01-01 20:24:40 +00:00
< meta name = "twitter:site" content = "@{{ TWITTER_USERNAME }}" / >
2015-01-01 11:37:30 +00:00
< meta property = "og:site_name" content = "{{ SITENAME }}" / >
2015-01-01 20:06:34 +00:00
{% block seo %}
2014-12-29 22:08:56 +00:00
< meta property = "og:title" content = "{{ SITENAME }}" / >
< meta property = "og:type" content = "website" / >
< meta property = "og:url" content = "{{ SITEURL }}" / >
2015-01-01 11:37:30 +00:00
< meta name = "twitter:url" content = "{{ SITEURL }}" / >
2015-01-09 18:56:22 +00:00
< meta itemprop = "name" content = "{{ SITENAME }}" / >
< meta itemprop = "url" content = "{{ SITEURL }}" / >
2015-01-01 20:06:34 +00:00
{% if DESCRIPTION %}
< meta property = "og:description" content = "{{ DESCRIPTION }}" / >
< meta name = "twitter:description" content = "{{ DESCRIPTION }}" / >
2015-01-09 18:56:22 +00:00
< meta itemprop = "description" content = "{{ DESCRIPTION }}" / >
2014-12-29 22:08:56 +00:00
{% endif %}
2015-01-01 23:56:46 +00:00
{% if META_IMAGE %}
< meta property = "og:image" content = "{{ META_IMAGE }}" / >
< meta property = "og:image:type" content = "{{ META_IMAGE_TYPE }}" / >
< meta name = "twitter:image" content = "{{ META_IMAGE }}" / >
2015-01-09 18:56:22 +00:00
< meta itemprop = "image" content = "{{ META_IMAGE }}" / >
2015-01-01 11:37:30 +00:00
{% endif %}
2015-01-01 20:06:34 +00:00
{% endblock %}
< link href = "{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type = "application/atom+xml" rel = "alternate" title = "{{ SITENAME }} ATOM Feed" / >
2014-12-30 19:24:15 +00:00
< link href = '//fonts.googleapis.com/css?family=Open+Sans:800italic' rel = 'stylesheet' type = 'text/css' >
2014-12-29 22:08:56 +00:00
< link href = '//fonts.googleapis.com/css?family=Oswald' rel = 'stylesheet' type = 'text/css' >
2015-11-07 17:27:51 +00:00
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/uikit/2.23.0/css/uikit.min.css" >
2015-11-07 19:43:39 +00:00
{% if not DISABLE_SEARCH %}
2015-11-07 17:27:51 +00:00
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/uikit/2.23.0/css/components/search.min.css" >
2016-01-03 18:25:33 +00:00
< link rel = "stylesheet" href = "{{ SITEURL }}/theme/css/tipuesearch.css" >
2015-11-07 19:43:39 +00:00
{% endif %}
2016-01-03 18:25:33 +00:00
< link rel = "stylesheet" href = "{{ SITEURL }}/theme/css/solarized.css" >
< link rel = "stylesheet" href = "{{ SITEURL }}/theme/css/main.css" >
2014-12-29 22:08:56 +00:00
2015-01-01 20:06:34 +00:00
< script src = "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js" > < / script >
2014-12-29 22:08:56 +00:00
< / head >
< body >
<!-- [if lt IE 7]>
< p class = "browsehappy" > You are using an < strong > outdated< / strong > browser. Please < a href = "http://browsehappy.com/" > upgrade your browser< / a > to improve your experience.< / p >
<![endif]-->
2015-01-01 20:06:34 +00:00
2014-12-29 22:08:56 +00:00
< header class = " mg-header uk-navbar uk-navbar-attached" >
< div class = "uk-container uk-container-center" >
2015-11-23 17:09:35 +00:00
< a class = "mg-brand uk-navbar-brand uk-hidden-small" href = "{{ SITEURL }}" > {% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}< / a >
< div class = "mg-tagline uk-navbar-content uk-hidden-small" > {% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}< / div >
< a class = "uk-navbar-toggle uk-visible-small" href = "#mg-offcanvas" data-uk-offcanvas > < / a >
< a class = "mg-brand uk-navbar-brand uk-navbar-center uk-visible-small" href = "{{ SITEURL }}" > {% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}< / a >
2014-12-29 22:08:56 +00:00
< / div >
< / header >
< main class = "mg-main" >
< div class = "uk-container uk-container-center" >
< div class = "uk-grid" data-uk-grid-margin >
2015-11-23 17:09:35 +00:00
2014-12-29 22:08:56 +00:00
{% block content %}
2015-11-23 17:09:35 +00:00
{% endblock %}
2014-12-29 22:08:56 +00:00
< div class = "uk-width-medium-1-5 uk-hidden-small" >
2015-11-23 17:09:35 +00:00
2015-11-07 19:43:39 +00:00
{% if not DISABLE_SEARCH %}
2015-01-08 23:10:05 +00:00
< div class = "uk-panel uk-panel-box" >
2017-08-07 00:32:45 +00:00
< form class = "uk-search" action = "{{ SITEURL }}/search.html" data-uk-search >
2017-08-09 00:11:13 +00:00
< input class = "uk-search-field tipue_search" type = "search" name = "q" autocomplete = "off" placeholder = "Search..." >
2015-01-08 23:10:05 +00:00
< / form >
< / div >
2015-11-07 19:43:39 +00:00
{% endif %}
2015-01-08 23:10:05 +00:00
2014-12-29 22:08:56 +00:00
< div class = "uk-panel uk-panel-box" >
< ul class = "uk-nav uk-nav-side" >
2017-08-09 00:11:13 +00:00
{% if CATEGORY_SAVE_AS %}
2014-12-29 22:08:56 +00:00
< li class = "uk-nav-header" > Categories< / li >
{% for cat, _ in categories %}
< li { % if cat = = category % } class = "uk-active" { % endif % } > < a href = "{{ SITEURL }}/{{ cat.url }}" > {{ cat }}< / a > < / li >
{% endfor %}
2017-08-09 00:11:13 +00:00
{% endif %}
2014-12-29 22:08:56 +00:00
{% if DISPLAY_PAGES_ON_MENU != False %}
< li class = "uk-nav-header" > Pages< / li >
2015-11-23 17:09:35 +00:00
2017-01-31 17:01:43 +00:00
{% for p in pages %}
2014-12-29 22:08:56 +00:00
< li { % if p = = page % } class = "uk-active" { % endif % } >
< a href = "{{ SITEURL }}/{{ p.url }}" > {{ p.title }}< / a >
< / li >
{% endfor %}
2015-11-23 17:09:35 +00:00
2014-12-29 22:08:56 +00:00
{% endif %}
2017-08-09 00:11:13 +00:00
{% if ARCHIVE_SAVE_AS %}
2014-12-29 22:08:56 +00:00
< li class = "uk-nav-divider" > < / li >
2015-01-01 00:19:43 +00:00
< li { % if page_name = = ' archives ' % } class = "uk-active" { % endif % } > < a href = "{{ SITEURL }}/archives.html" > Archives< / a > < / li >
2017-08-09 00:11:13 +00:00
{% endif %}
2014-12-29 22:08:56 +00:00
< / ul >
< / div >
< div class = "uk-panel uk-panel-box" >
< h3 class = "uk-panel-title" > Receive Updates< / h3 >
2015-01-01 20:06:34 +00:00
< a rel = "alternate" type = "application/atom+xml" href = "{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class = "mg-feed" > < i class = "uk-icon-rss uk-icon-medium" > < / i > ATOM< / a >
2014-12-29 22:08:56 +00:00
< / div >
2015-11-23 17:09:35 +00:00
2014-12-29 22:08:56 +00:00
{% if SOCIAL %}
< div class = "uk-panel uk-panel-box" >
< h3 class = "uk-panel-title" > Contacts< / h3 >
{% for icon, link in SOCIAL %}
2015-01-15 19:41:16 +00:00
< a class = "mg-icon-link" href = "{{ link }}" >
2014-12-29 22:08:56 +00:00
< i class = "uk-icon-{{ icon }} uk-icon-medium" > < / i >
< / a >
{% endfor %}
< / div >
2017-08-10 00:00:49 +00:00
{% endif %}
{% if LINKS %}
< div class = "uk-panel uk-panel-box" >
< h3 class = "uk-panel-title" > Blogroll< / h3 >
< ul class = "uk-nav uk-nav-side" >
{% for text, url in LINKS %}
< li > < a href = "{{ url }}" > {{ text }}< / a > < / li >
{% endfor %}
< / ul >
< / div >
{% endif %}
{% if SUPPORTS %}
< div class = "uk-panel uk-panel-box" >
{% for name, link, logo_url, title in SUPPORTS %}
< a href = "{{ link }}" >
< img class = "mg-support-logo" src = "{{ logo_url }}" alt = "Logo {{ name }}" title = "{{ title }}" >
< / a >
{% endfor %}
< / div >
2014-12-29 22:08:56 +00:00
{% endif %}
< / div >
< / div >
< / div >
< / main >
< footer class = "mg-footer" >
< div class = "uk-container uk-container-center uk-text-center" >
2017-08-09 00:11:13 +00:00
< ul class = "mg-icons-small uk-subnav uk-visible-small" >
2015-01-01 20:06:34 +00:00
< li > < a rel = "alternate" type = "application/atom+xml" href = "{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class = "uk-icon-button uk-icon-rss" > < / a > < / li >
2014-12-29 22:08:56 +00:00
{% if SOCIAL %}
{% for icon, link in SOCIAL %}
< li >
< a href = "{{ link }}" class = "uk-icon-button uk-icon-{{ icon.replace(" -square " , " " ) } } " > < / a >
< / li >
{% endfor %}
{% endif %}
2017-08-09 00:11:13 +00:00
< / ul >
2014-12-29 22:08:56 +00:00
< div class = "mg-author uk-panel" >
< p > {{ FOOTER }}< / p >
2015-01-01 20:06:34 +00:00
< p > Powered by < a href = "http://blog.getpelican.com" > Pelican< / a > .< br class = "uk-visible-small" > Theme < a href = "https://github.com/lucachr/pelican-mg" > mg< / a > by < a href = "https://github.com/lucachr" > Luca Chiricozzi< / a > .< / p >
2014-12-29 22:08:56 +00:00
< / div >
2015-11-23 17:09:35 +00:00
< / div >
2014-12-29 22:08:56 +00:00
< / footer >
< div id = "mg-offcanvas" class = "uk-offcanvas" >
< div class = "uk-offcanvas-bar" >
2015-01-08 23:10:05 +00:00
2015-11-07 19:43:39 +00:00
{% if not DISABLE_SEARCH %}
2017-08-07 00:32:45 +00:00
< form class = "uk-search" action = "{{ SITEURL }}/search.html" data-uk-search >
2017-08-09 00:11:13 +00:00
< input class = "uk-search-field tipue_search" type = "search" name = "q" autocomplete = "off" placeholder = "Search..." >
2015-01-08 23:10:05 +00:00
< / form >
2015-11-07 19:43:39 +00:00
{% endif %}
2015-01-08 23:10:05 +00:00
2014-12-29 22:08:56 +00:00
< ul class = "uk-nav uk-nav-offcanvas" data-uk-nav >
< li class = "uk-nav-header" > Categories< / li >
{% for cat, _ in categories %}
< li { % if cat = = category % } class = "uk-active" { % endif % } > < a href = "{{ SITEURL }}/{{ cat.url }}" > {{ cat }}< / a > < / li >
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU != False %}
2015-11-23 17:09:35 +00:00
< li class = "uk-nav-header" > Pages< / li >
2017-01-31 17:01:43 +00:00
{% for p in pages %}
2014-12-29 22:08:56 +00:00
< li { % if p = = page % } class = "uk-active" { % endif % } >
< a href = "{{ SITEURL }}/{{ p.url }}" > {{ p.title }}< / a >
< / li >
{% endfor %}
2015-11-23 17:09:35 +00:00
2014-12-29 22:08:56 +00:00
{% endif %}
< li class = "uk-nav-divider" > < / li >
< li > < a href = "{{ SITEURL }}/{{ ARCHIVES_URL }}" > Archives< / a > < / li >
< / ul >
< / div >
< / div >
< script src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" > < / script >
< script > window . jQuery || document . write ( '<script src="js/vendor/jquery-1.10.2.min.js"><\/script>' ) < / script >
2015-11-07 17:27:51 +00:00
< script src = "//cdnjs.cloudflare.com/ajax/libs/uikit/2.23.0/js/uikit.min.js" > < / script >
2015-11-07 19:43:39 +00:00
{% if not DISABLE_SEARCH %}
2015-11-07 17:27:51 +00:00
< script src = "//cdnjs.cloudflare.com/ajax/libs/uikit/2.23.0/js/components/search.min.js" > < / script >
2016-01-03 18:25:33 +00:00
< script src = "{{ SITEURL }}/theme/js/tipuesearch_set.js" > < / script >
< script src = "{{ SITEURL }}/theme/js/tipuesearch.js" > < / script >
2015-11-07 19:43:39 +00:00
{% endif %}
2016-01-03 18:42:12 +00:00
< script src = "{{ SITEURL }}/theme/js/jquery.sticky-kit.js" > < / script >
2016-01-03 18:25:33 +00:00
< script src = "{{ SITEURL }}/theme/js/plugins.js" > < / script >
2015-11-07 19:43:39 +00:00
{% if DISABLE_SEARCH %}
2016-01-03 18:25:33 +00:00
< script src = "{{ SITEURL }}/theme/js/main.js" > < / script >
2015-11-07 19:43:39 +00:00
{% else %}
2016-01-03 18:42:12 +00:00
< script src = "{{ SITEURL }}/theme/js/main-search.js" > < / script >
2015-11-07 19:43:39 +00:00
{% endif %}
2014-12-29 22:08:56 +00:00
{% include 'disqus_count.html' %}
{% include 'analytics.html' %}
< / body >
< / html >