0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added description to allowed preview params

refs https://github.com/TryGhost/Team/issues/1101

- description field in Admin is being moved to an area which has a live preview so we want to be able to pass this through as a preview param
- uses `d` rather than `description` to follow the shorter param names pattern
This commit is contained in:
Kevin Ansfield 2021-09-30 14:07:28 +01:00
parent b8e2bb7b6d
commit c3f2d1e919

View file

@ -21,7 +21,8 @@ function getPreviewData(previewHeader, customThemeSettingKeys = []) {
icon: 'icon',
logo: 'logo',
cover: 'cover_image',
custom: 'custom'
custom: 'custom',
d: 'description'
};
let opts = new URLSearchParams(previewHeader);