From 9f4d8920172fcb2f32b33c3a5450dd03e6e03ce7 Mon Sep 17 00:00:00 2001 From: Braden MacDonald Date: Mon, 20 Nov 2023 12:27:19 -0800 Subject: [PATCH] feat: set on taxonomy list page and taxonomy detail page --- src/taxonomy/TaxonomyListPage.jsx | 6 ++++++ src/taxonomy/taxonomy-detail/TaxonomyDetailPage.jsx | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/src/taxonomy/TaxonomyListPage.jsx b/src/taxonomy/TaxonomyListPage.jsx index 79ca9982aa..c9e4b48b8b 100644 --- a/src/taxonomy/TaxonomyListPage.jsx +++ b/src/taxonomy/TaxonomyListPage.jsx @@ -6,7 +6,10 @@ import { Spinner, } from '@edx/paragon'; import { useIntl } from '@edx/frontend-platform/i18n'; +import { Helmet } from 'react-helmet'; + import SubHeader from '../generic/sub-header/SubHeader'; +import getPageHeadTitle from '../generic/utils'; import messages from './messages'; import TaxonomyCard from './taxonomy-card'; import { useTaxonomyListDataResponse, useIsTaxonomyListDataLoaded } from './data/apiHooks'; @@ -35,6 +38,9 @@ const TaxonomyListPage = () => { return ( <> + <Helmet> + <title>{getPageHeadTitle("", intl.formatMessage(messages.headerTitle))} +
{ return ( <> + + {getPageHeadTitle("", taxonomy.name)} +