Add title to pages with missing title in Web UI (#19322)
This commit is contained in:
parent
e82467ca41
commit
a5112b51fd
21 changed files with 123 additions and 108 deletions
|
@ -4,7 +4,6 @@ import PropTypes from 'prop-types';
|
|||
import Column from 'mastodon/components/column';
|
||||
import LinkFooter from 'mastodon/features/ui/components/link_footer';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { title } from 'mastodon/initial_state';
|
||||
|
||||
const messages = defineMessages({
|
||||
title: { id: 'column.about', defaultMessage: 'About' },
|
||||
|
@ -25,7 +24,7 @@ class About extends React.PureComponent {
|
|||
<LinkFooter />
|
||||
|
||||
<Helmet>
|
||||
<title>{intl.formatMessage(messages.title)} - {title}</title>
|
||||
<title>{intl.formatMessage(messages.title)}</title>
|
||||
</Helmet>
|
||||
</Column>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue