Skip to content

Commit 556a172

Browse files
authored
Provide better metadata for incidents page (#121)
1 parent 1eb9334 commit 556a172

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

OpenOversight/app/templates/incident_detail.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
{% set incident = obj %}
33
{% block title %}{{ incident.department.name }} incident{% if incident.report_number %} {{incident.report_number}}{% endif %} - OpenOversight{% endblock %}
44
{% block meta %}
5-
{% if incident.description != None %}
6-
<meta name="description" content="{{ incident.description }}">
7-
{% else %}
8-
<meta name="description" content="View details for {{ incident.department.name }} incident{% if incident.report_number %} {{incident.report_number}}{% endif %}.">
9-
{% endif %}
5+
<meta name="description" content="View details for {{ incident.department.name }} incident{% if incident.report_number %} {{incident.report_number}}{% endif %}.">
106
<!-- Google Breadcrumb https://developers.google.com/search/docs/data-types/breadcrumb -->
117
<script type="application/ld+json">
128
{

0 commit comments

Comments
 (0)