{% 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 %} {% endif %} {% if category and CATEGORY_FEED_ATOM %} {% endif %} {% if BANNER and BANNER_ALL_PAGES %} {% include 'includes/banner.html' %} {% elif BANNER and not BANNER_ALL_PAGES %} {% block banner %}{% endblock %} {% endif %}
{% if not HIDE_SIDEBAR or ABOUT_ME or AVATAR %}
{% include 'includes/footer.html' %} {% 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 %}