{%- block site_meta %} {% if page and page.is_homepage %}{% endif %} {% if config.site_author %}{% endif %} {% if page and page.canonical_url %}{% endif %} {% if config.site_favicon %} {% else %}{% endif %} {%- endblock %} {%- block htmltitle %} {% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }} {%- endblock %} {%- block styles %} {%- if config.theme.highlightjs %} {%- endif %} {%- for path in config['extra_css'] %} {%- endfor %} {%- endblock %} {%- block libs %} {%- if config.theme.highlightjs %} {%- for lang in config.theme.hljs_languages %} {%- endfor %} {%- endif %} {%- endblock %} {%- block analytics %} {%- if config.google_analytics %} {%- endif %} {%- endblock %} {%- block extrahead %} {% endblock %}
{% if page and not page.is_homepage %} {% endif %}
{%- block content %} {% if page and page.meta.hide_toc %}
{% else %}
{% include "toc.html" %}
{% endif %} {% if page and page.meta.full_width %} {% include "content.html" %} {% else %}
{% include "content.html" %} {% block post_content %}{% endblock %}
{% endif %} {%- endblock %}
{%- block scripts %} {%- for path in config['extra_javascript'] %} {%- endfor %} {%- endblock %} {% if 'search' in config['plugins'] %}{%- include "search-modal.html" %}{% endif %} {%- include "keyboard-modal.html" %}