General

<html> content

html_attribute

HTML <html> attributes.

Default:

<html {% block html_attribute %}lang="{% block html_lang %}{{ ADMINLTE_HTML_LANG }}{% endblock html_lang %}" dir="{% block html_lang_bidi %}{{ ADMINLTE_HTML_LANG_BIDI }}{% endblock html_lang_bidi %}" {% endblock html_attribute %}>
html_lang

HTML <html> lang attribute.

Default:

lang="{% block html_lang %}{{ ADMINLTE_HTML_LANG }}{% endblock html_lang %}"
html_lang_bidi

HTML <html> dir attribute

Default:

dir="{% block html_lang_bidi %}{{ ADMINLTE_HTML_LANG_BIDI }}{% endblock html_lang_bidi %}"

<head> content

extra_head

Additional HTML tags in <head>.

meta

<meta> tags in <head>.

Default:

{% block meta %}
    {% include 'adminlte2/components/_meta.html' %}
{% endblock meta %}
title

HTML <title> tag text.

stylesheets

CSS links in <head>.

Default:

{% block stylesheets %}
    {% include 'adminlte2/components/_stylesheets.html' %}
{% endblock stylesheets %}
stylesheets_fix

Custom CSS links in <head>. Included custom CSS files are:

  • adminlte2/fix/header_dropdown_link_color.css: Custom CSS to fix header dropdown link color without using .notifications-menu, .messages-menu, or .tasks-menu classes

Default:

{% block stylesheets_fix %}
    {% include 'adminlte2/components/_stylesheets_fix.html' %}
{% endblock stylesheets_fix %}
favicon

Favicon links in <head>:

Default:

{% block favicon %}
    <link rel="shortcut icon" href="{% block favicon_icon %}{% static 'favicon.ico' %}{% endblock favicon_icon %}">
{% endblock favicon %}
favicon_image

Favicon image path.

Default:

<link rel="shortcut icon" href="{% block favicon_icon %}{% static 'favicon.ico' %}{% endblock favicon_icon %}">
shim

HTML 5 Shim JavaScript links in <head>.

Default:

{% block shim %}
    {% if ADMINLTE_USE_SHIM %}
        {% include 'adminlte2/components/_shim.html' %}
    {% endif %}
{% endblock shim %}
javascripts

JavaScript links in <head>.

Default:

{% block javascripts %}
    {% include 'adminlte2/components/_javascripts.html' %}
{% endblock javascripts %}

<body> content

body

HTML <body> tag content.

body_attribute

HTML <body> attributes.

Default:

<body {% block body_attribute %}class="{% block body_class %}hold-transition {% block skin_style %}{{ ADMINLTE_SKIN_STYLE }}{% endblock skin_style %}{% endblock body_class %}"{% endblock body_attribute %}>
body_class

HTML <body> tag class attributes.

Default:

{% block body_class %}hold-transition {{ ADMINLTE_SKIN_STYLE }}{% endblock body_class %}
skin_style

HTML <body> tag class attribute for AdminLTE 2 skin theme.

Valid values are: 'skin-black', 'skin-black-light', 'skin-blue', 'skin-blue-light', 'skin-green', 'skin-green-light', 'skin-purple', 'skin-purple-light', 'skin-red', 'skin-red-light', 'skin-yellow', 'skin-yellow-light'.

javascripts_body

JavaScript links in <body>.