    {% if edit_mode %}


        <div id="edit-bar" class="navbar navbar-fixed-bottom">
            <div class="navbar-inner">
                <div class="container">
                    <a class="brand" href="#">Edit Mode</a>
                    <ul class="nav">
                        {% if object %}
                        <li class="active"><a href="{{ object.get_edit_url }}?next={{ request.path }}">Edit this {{ object.content_type.name|title }}</a></li>
                        {% else %}
                        <li class="divider-vertical"></li>
                        {% endif %}

                        <li><a href="/admin/">Admin</a></li>
                        <li class="divider-vertical"></li>

                        {% if USE_STATIC_SITE %}
                        <li><a href="{% url 'deploy' %}">Rebuild Site</a></li>
                        <li class="divider-vertical"></li>
                        {% endif %}

                        <li><a href="{{ request.path }}?mode=">Exit Mode</a></li>
                    </ul>
                </div>
            </div>
        </div>


    {% endif %}