add labels to templates to help debugging

This commit is contained in:
Philip Sargent 2021-04-15 12:55:13 +01:00
parent 3e50d0edca
commit 0fee2bb165
10 changed files with 11 additions and 0 deletions

View File

@ -1,4 +1,5 @@
<!DOCTYPE html>
<!-- base.html - this text visible because this template has been included -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

View File

@ -1,3 +1,5 @@
<!DOCTYPE html>
<!-- cavebase.html - this text visible because this template has been included -->
<html lang="en">
<head>

View File

@ -1,3 +1,4 @@
<!-- expopage.html - this text visible because this template has been included -->
{% extends "expobase.html" %}
{% block title %}{{ title }}{% endblock %}
{% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %}

View File

@ -1,4 +1,5 @@
<!DOCTYPE html>
<!-- expowebbase.html - this text visible because this template has been included -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

View File

@ -1,3 +1,4 @@
<!-- pagenotfound.html - this text visible because this template has been included -->
{% extends "expobase.html" %}
{% block title %}Page not found {{ path }}{% endblock %}
{% block body %}

View File

@ -1,3 +1,4 @@
<!-- svxcaveseveral.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% block title %}List of survex files{% endblock %}
{% load wiki_markup %}

View File

@ -1,3 +1,4 @@
<!-- svxcavesingle.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% block title %}List of survex files{% endblock %}
{% load wiki_markup %}

View File

@ -1,3 +1,4 @@
<!-- svxcavesingle404.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% block title %}List of survex files{% endblock %}

View File

@ -1,3 +1,4 @@
<!-- svxfile.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% load survex_markup %} <!-- this is core/templatetags/survex_markup.py for syntax colouring -->

View File

@ -1,3 +1,4 @@
<!-- svxfilecavelist.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% block title %}List of survex files{% endblock %}