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="stylesheet" href="{% static 'main.css' %}">
|
||||||
<link rel="icon" type="image/png" href="{% static 'favicon.ico' %}">
|
<link rel="icon" type="image/png" href="{% static 'favicon.ico' %}">
|
||||||
<title>
|
<title>
|
||||||
{% if title%}
|
{% block title %}Urban Exploration{% endblock %}
|
||||||
{{title}}|UrbEx
|
|
||||||
{% else %}
|
|
||||||
Urban Exploration
|
|
||||||
{% endif %}
|
|
||||||
</title>
|
</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{% extends 'global.html'%}
|
{% extends 'global.html'%}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
|
{% block title %}Lost Places{% endblock %}
|
||||||
|
|
||||||
{% block maincontent %}
|
{% block maincontent %}
|
||||||
<ul class="LP-Place__List">
|
<ul class="LP-Place__List">
|
||||||
{% for place in place_list %}
|
{% for place in place_list %}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{% extends 'global.html'%}
|
{% extends 'global.html'%}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
|
{% block title %}{{place.name}}{% endblock %}
|
||||||
|
|
||||||
{% block maincontent %}
|
{% block maincontent %}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user