{%- block doctype -%} {%- endblock %} {%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and (sidebars != []) %} {%- set url_root = pathto('', 1) %} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- if not embedded and docstitle %} {%- set titlesuffix = " — "|safe + docstitle|e %} {%- else %} {%- set titlesuffix = "" %} {%- endif %} {%- macro searchform(classes, button) %} {%- endmacro %} {%- macro sidebarglobal() %} {%- endmacro %} {%- macro sidebar() %} {%- if render_sidebar %} {%- endif %} {%- endmacro %} {%- macro script() %} {% for name in ['jquery.js', 'underscore.js', 'doctools.js', 'searchtools.js'] %} {% endfor %} {%- endmacro %} {%- macro css() %} {% if pagename == 'index' %} {%- else %} {%- endif %} {%- endmacro %} {# The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags. #} {{ metatags }} {%- block htmltitle %} {%- if pagename != 'index' %} {{ title|striptags|e }}{{ titlesuffix }} {%- else %} XGBoost Documents {%- endif %} {%- endblock %} {{ css() }} {%- if not embedded %} {{ script() }} {%- if use_opensearch %} {%- endif %} {%- if favicon %} {%- endif %} {%- endif %} {%- block linktags %} {%- if hasdoc('about') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('copyright') %} {%- endif %} {%- if parents %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {%- endblock %} {%- block extrahead %} {% endblock %} {%- include "navbar.html" %} {% if pagename != 'index' %}
{{ sidebar() }}
{% block body %} {% endblock %} {%- include "footer.html" %}
{%- else %} {%- include "index.html" %} {%- include "footer.html" %} {%- endif %}