Made title tag configurable the django way.
This commit is contained in:
parent
eea7d4ffa6
commit
a95b90896e
@ -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>
|
||||
|
@ -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 %}
|
||||
|
@ -1,6 +1,8 @@
|
||||
{% extends 'global.html'%}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{{place.name}}{% endblock %}
|
||||
|
||||
{% block maincontent %}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user