{% if USE_OPEN_GRAPH is not defined %} {% set USE_OPEN_GRAPH = True %} {% endif %}
{% block title %}{{ SITENAME }}{% endblock %}
{% if 'liquid_tags.notebook' in PLUGINS %} {% include 'includes/liquid_tags_nb_header.html' %} {% endif %} {# Favicons are a touchy subject. For reasoning for the following code, see: http://stackoverflow.com/a/23851464/872397 #} {% if FAVICON %}
{% endif %} {% if FAVICON_IE %} {% endif %} {% if TOUCHICON %}
{% endif %} {% block canonical_rel %}{% endblock %} {% block meta %}
{% endblock %} {# Open Graph tags #} {% if USE_OPEN_GRAPH %} {% block opengraph %} {% if OPEN_GRAPH_FB_APP_ID %}
{% endif %}
{% if OPEN_GRAPH_IMAGE %}
{% endif %} {% endblock %} {% endif %} {# Twitter Cards tags #} {% include 'includes/twitter_cards.html' %} {# Flattr ID for the Flattr browser plug-in #} {% if FLATTR_ID %}
{% endif %} {% if BOOTSTRAP_THEME %}
{% else %}
{% endif %}
{% if 'tipue_search' in PLUGINS %}
{% endif %} {% if DOCUTIL_CSS %}
{% endif %} {% if TYPOGRIFY %}
{% endif %}
{% if CUSTOM_CSS %}
{% endif %} {% if SHARIFF %}
{% endif %} {% if FEED_ALL_ATOM %}
{% endif %} {% if FEED_ALL_RSS %}
{% endif %} {%- if tag and TAG_FEED_ATOM %} {%- if '%s' not in TAG_FEED_ATOM %} {%- set tag_feed_atom = TAG_FEED_ATOM.format(slug=tag.slug) %} {%- else %} {%- set tag_feed_atom = TAG_FEED_ATOM.format(tag.slug) %} {%- endif %}
{%- endif %} {%- if category and CATEGORY_FEED_ATOM %} {%- if '%s' not in CATEGORY_FEED_ATOM %} {%- set category_feed_atom = CATEGORY_FEED_ATOM.format(slug=category.slug) %} {%- else %} {%- set category_feed_atom = CATEGORY_FEED_ATOM.format(category.slug) %} {%- endif %}
{%- endif %}
{% if MENUITEMS or (pages and DISPLAY_PAGES_ON_MENU) or (categories and DISPLAY_CATEGORIES_ON_MENU) %}
Toggle navigation
{% endif %}
{% if SITELOGO %}
{% endif %} {% if not HIDE_SITENAME %}{{ SITENAME }}{% endif %}
{% for title, link in MENUITEMS %}
{{ title }}
{% endfor %} {% if not PAGES_SORT_ATTRIBUTE -%} {% set PAGES_SORT_ATTRIBUTE = 'title' %} {%- endif %} {% if DISPLAY_PAGES_ON_MENU %} {% for p in pages | sort(attribute=PAGES_SORT_ATTRIBUTE) %} {% if p.url %}
{{ p.menulabel|default(p.title) }}
{% endif %} {% endfor %} {% endif %} {% if DISPLAY_CATEGORIES_ON_MENU %} {% for cat, null in categories %}
{{ cat | capitalize }}
{% endfor %} {% endif %}
{% if 'tipue_search' in PLUGINS %}
{% endif %} {% if ARCHIVES_SAVE_AS %}
{{ _('Archives') }}
{% endif %}
{% if BANNER and BANNER_ALL_PAGES %} {% include 'includes/banner.html' %} {% elif BANNER and not BANNER_ALL_PAGES %} {% block banner %}{% endblock %} {% endif %} {% if PADDED_SINGLE_COLUMN_STYLE %} {% set content_class='col-md-8 col-md-offset-2' %} {% elif not HIDE_SIDEBAR or ABOUT_ME or AVATAR %} {% set content_class='col-sm-9' + (' col-sm-push-3' if SIDEBAR_ON_LEFT else '') %} {% set sidebar_class='col-sm-3' + (' col-sm-pull-9' if SIDEBAR_ON_LEFT else '') %} {% else %} {% set content_class='col-lg-12' %} {% endif %}
{% block breadcrumbs %}{% endblock %} {% block content %}{% endblock %}
{% include 'includes/footer.html' %} {% if CUSTOM_JS %} {% endif %} {% if BANNER %} {% endif %} {% include 'includes/sidebar/github-js.html' %} {% include 'includes/disqus_script.html' %} {% include 'includes/ga.html' %} {% include 'includes/piwik.html' %} {% if 'liquid_tags.notebook' in PLUGINS %} {% include 'includes/liquid_tags_nb_footer.html' %} {% endif %} {% block scripts %}{% endblock %}