diff --git a/cfgov/teachers_digital_platform/tests/models/test_activity_index_page.py b/cfgov/teachers_digital_platform/tests/models/test_activity_index_page.py index e3b938d399..f79f2861d2 100644 --- a/cfgov/teachers_digital_platform/tests/models/test_activity_index_page.py +++ b/cfgov/teachers_digital_platform/tests/models/test_activity_index_page.py @@ -240,7 +240,6 @@ def test_search_page_renders_with_facet_parameters(self, mock_search): f"{self.search_page.url}?topic=1&topic=2&topic=3" ) self.assertEqual(response.status_code, 200) - self.assertIn("topic=1", response.content.decode("utf8")) def test_taxonomy_model_str(self): taxonomy_instance = ActivityBuildingBlock.objects.first() diff --git a/cfgov/v1/jinja2/v1/layouts/base.html b/cfgov/v1/jinja2/v1/layouts/base.html index bf13a77edc..4283e2722d 100644 --- a/cfgov/v1/jinja2/v1/layouts/base.html +++ b/cfgov/v1/jinja2/v1/layouts/base.html @@ -65,14 +65,16 @@ {% endif %} - + {% set canonical = request.build_absolute_uri(request.path) | lower %} + + {# Open Graph properties #} {# Required Open Graph properties #} - + {% block og_image %} {% if page and page.meta_image %}