Skip to content

Commit 858ad0d

Browse files
committed
don't use title template var if it doen't exist
1 parent 3363320 commit 858ad0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en" prefix="og: http://ogp.me/ns#">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Database of Databases - {% block title %}{% endblock %}</title>
5+
<title>Database of Databases - {% block title %}{% if title %}{{ title }}{% endif %}{% endblock %}</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
{% if counter_token %}
88
<meta name="counter" content="{{ counter_token }}">

0 commit comments

Comments
 (0)