Skip to content

Commit

Permalink
Update base template url content
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekabyx committed Sep 26, 2023
1 parent b29b510 commit c2111a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% block page_description %}{% include "elections/includes/_postcode_meta_description.html" %}{% endblock page_description %}
{% block og_title_content %}{% include "elections/includes/_postcode_meta_title.html" %}{% endblock og_title_content %}
{% block og_description_content %}{% include "elections/includes/_postcode_meta_description.html" %}{% endblock og_description_content %}
{% block og_url_content %}{{ CANONICAL_URL }}{% endblock og_url_content %}
{% block twitter_title_content %}{% include "elections/includes/_postcode_meta_title.html" %}{% endblock twitter_title_content %}
{% block twitter_description_content %}{% include "elections/includes/_postcode_meta_title.html" %}{% endblock twitter_description_content %}

Expand Down
1 change: 0 additions & 1 deletion wcivf/apps/people/templates/people/person_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
{% block og_title_content %}{% include "people/includes/_person_meta_title.html" %}{% endblock og_title_content %}
{% block og_description_content %}{% include "people/includes/_person_meta_description.html" %}{% endblock og_description_content %}
{% block og_image_content %}{% if object.photo_url %}{{ object.photo_url }}{% else %}{{ CANONICAL_URL }}{% static 'images/blank-avatar.png' %}{% endif %}{% endblock og_image_content %}
{% block og_url_content %}{{ CANONICAL_URL }}{{ request.path }}{% endblock og_url_content %}
{% block twitter_title_content %}{% include "people/includes/_person_meta_title.html" %}{% endblock twitter_title_content %}
{% block twitter_image %}{% if object.photo_url %}{{ object.photo_url }}{% else %}{{ CANONICAL_URL }}{% static 'images/blank-avatar.png' %}{% endif %}{% endblock twitter_image %}
{% block twitter_description_content %}{% include "people/includes/_person_meta_description.html" %}{% endblock twitter_description_content %}
Expand Down
1 change: 1 addition & 0 deletions wcivf/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% load static %}
{% load i18n %}

{% block og_url_content %}{{ request.build_absolute_uri }}{% endblock og_url_content %}

{% block extra_site_css %}
{% if USE_COMPRESSED_CSS %}
Expand Down

0 comments on commit c2111a9

Please sign in to comment.