{% extends "base.html" %} {% block page-title %}/ {% if snipt.title %}{{ snipt.title }}{% else %}Untitled{% endif %} / {{ user.username }} - {{ block.super }}{% endblock %} {% block html-class %}detail{% endblock %} {% block body-class %}{% if request.path == '/api/' and request.user.is_authenticated %}api{% else %}detail{% endif %}{% endblock %} {% block js %} {{ block.super }} window.detail = true; {% endblock %} {% block breadcrumb %}