Made title tag configurable the django way.

This commit is contained in:
Marcus Scholz 2020-07-28 23:45:28 +02:00
parent eea7d4ffa6
commit a95b90896e
3 changed files with 5 additions and 5 deletions

View File

@ -7,11 +7,7 @@
<link rel="stylesheet" href="{% static 'main.css' %}">
<link rel="icon" type="image/png" href="{% static 'favicon.ico' %}">
<title>
{% if title%}
{{title}}|UrbEx
{% else %}
Urban Exploration
{% endif %}
{% block title %}Urban Exploration{% endblock %}
</title>
</head>
<body>

View File

@ -1,6 +1,8 @@
{% extends 'global.html'%}
{% load static %}
{% block title %}Lost Places{% endblock %}
{% block maincontent %}
<ul class="LP-Place__List">
{% for place in place_list %}

View File

@ -1,6 +1,8 @@
{% extends 'global.html'%}
{% load static %}
{% block title %}{{place.name}}{% endblock %}
{% block maincontent %}