mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Wired up publication name attribute
fixes https://github.com/TryGhost/Team/issues/1776
This commit is contained in:
parent
35ed0af99d
commit
94d72c2846
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { useContext } from 'react';
|
||||
import {useContext} from 'react';
|
||||
import AppContext from '../AppContext';
|
||||
import Comment from './Comment';
|
||||
import RepliesPagination from './RepliesPagination';
|
||||
|
|
|
@ -41,7 +41,7 @@ function getSiteData() {
|
|||
const stylesUrl = scriptTag.dataset.styles;
|
||||
const title = scriptTag.dataset.title === 'null' ? null : scriptTag.dataset.title;
|
||||
const showCount = scriptTag.dataset.count === 'true';
|
||||
const publication = 'The Off-Season'; // TODO: replace with dynamic data from script
|
||||
const publication = scriptTag.dataset.publication ?? ''; // TODO: replace with dynamic data from script
|
||||
|
||||
return {siteUrl, stylesUrl, apiKey, apiUrl, sentryDsn, postId, adminUrl, colorScheme, avatarSaturation, accentColor, appVersion, commentsEnabled, title, showCount, publication};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue