Skip to content

Commit c8631ca

Browse files
authored
Add opengraph blocks to job description (#2002)
* Add opengraph blocks to job description * Update templates/jobs/job_detail.html
1 parent 57dc909 commit c8631ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/jobs/job_detail.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
{% block content_attributes %}with-right-sidebar{% endblock %}
99

10+
{% block og_title %}Job: {{ object.job_title }} at {{ object.company_name }}{% endblock %}
11+
{% block og-descript %}{{ object.description|truncatechars:200 }}{% endblock %}
1012

1113
{% block content %}
1214
{% load companies %}

0 commit comments

Comments
 (0)