{# All other pages use this as a base. #} {% if NAVBAR_ON_TOP is not defined %} {% set NAVBAR_ON_TOP = False %} {% endif -%} {% if HIDE_SIDEBAR is not defined %} {% set HIDE_SIDEBAR = False %} {% endif -%} {% if DISPLAY_ARCHIVES_ON_MENU is not defined %} {% set DISPLAY_ARCHIVES_ON_MENU = True %} {% endif -%} {% set JQUERY_JS_URL=SITEURL ~ "/" ~ THEME_STATIC_DIR ~ "/js/jquery.min.js?v=3.1.1" -%} {% block title %}{{ SITENAME | striptags | breaking_spaces }}{% endblock %} {%- if FAVICON %} {% endif -%} {# Open Graph tags #} {% if USE_OPEN_GRAPH is not defined %} {% set USE_OPEN_GRAPH = True %} {% endif %} {% if USE_OPEN_GRAPH %} {% if OPEN_GRAPH_FB_APP_ID %} {% endif %} {% if article %} {% if article.category %} {% endif %} {% for tag in article.tags %} {% endfor %} {% if article.author %} {% elif AUTHOR %} {% endif %} {% if article.image %} {% elif article.og_image %} {% elif CATEGORY_IMAGES and article.category in CATEGORY_IMAGES %} {% elif OPEN_GRAPH_IMAGE %} {% endif %} {% elif page %} {% if page.image %} {% elif OPEN_GRAPH_IMAGE %} {% endif %} {% else %} {% if OPEN_GRAPH_IMAGE %} {% endif %} {% endif %} {% endif -%} {% if ASSET_CSS %} {# put assets in a seperate file, otherwise it breaks if the assets #} {# plugin is not active #} {% include 'includes/assets-css.html' %} {% else %} {% if BOOTSTRAP_THEME %} {% else %} {% endif %} {# DISABLED -- moved this to my Bootstrap theme #} {% if DOCUTIL_CSS %} {% endif %} {# DISABLED -- moved this to my Bootstrap theme {% if TYPOGRIFY %} {% endif %} #} {% if CUSTOM_CSS %} {% endif %} {% if CUSTOM_CSS_LIST %} {% for custom_css in CUSTOM_CSS_LIST %} {% if custom_css.startswith('//') or custom_css.startswith('http://') or custom_css.startswith('https://') %} {% else %} {% endif %} {% endfor %} {% endif %} {%- endif %} {% if JQUERY_JS_IN_HEAD %} {% endif %} {% if CUSTOM_JS_LIST_HEAD %} {% for custom_js in CUSTOM_JS_LIST_HEAD %} {% if custom_js.startswith('//') or custom_js.startswith('http://') or custom_js.startswith('https://') %} {% elif custom_js.startswith(' {% endif %} {% endfor %} {% endif -%} {% if FEED_ALL_ATOM %} {% endif %} {% if FEED_ALL_RSS %} {% endif -%}
{% if not NAVBAR_ON_TOP %}
{% else %}
{% endif %} {%- if not HIDE_SIDEBAR and not NAVBAR_ON_TOP %}
{% elif not HIDE_SIDEBAR or not NAVBAR_ON_TOP %}
{% else %}
{% endif -%} {% block breadcrumbs %} {% endblock %} {% if PRJCT %} {% block prjct %} {% endblock %} {% endif %} {% block content %} {% endblock %}
{%- if not HIDE_SIDEBAR %}
{% endif %}
{%- include 'includes/footer.html' %} {% if ASSET_JS %} {# put assets in a seperate file, otherwise it breaks if the assets #} {# plugin is not active #} {% include 'includes/assets-js.html' %} {% else %} {% if not JQUERY_JS_IN_HEAD == True %} {% endif %} {% endif %} {% if CUSTOM_JS_LIST %} {% for custom_js in CUSTOM_JS_LIST %} {% if custom_js.startswith('//') or custom_js.startswith('http://') or custom_js.startswith('https://') %} {% elif custom_js.startswith(' {% endif %} {% endfor %} {% endif -%} {% include 'includes/github-js.html' %} {% include 'includes/disqus_script.html' %} {% include 'includes/ga.html' %} {% include 'includes/piwik.html' %} {% include 'includes/comments-js.html' -%} {% block scripts %}{% endblock %}