diff --git a/dashboard/templates/base.html b/dashboard/templates/base.html index 38dd2b874..fb76b9e70 100644 --- a/dashboard/templates/base.html +++ b/dashboard/templates/base.html @@ -44,7 +44,7 @@ {% get_flatpages '/copyright/' as flatpages %} - {% if flatpages.first.content %} + {% if flatpages.first and flatpages.first.content %}
{{ flatpages.first.content|safe }}