mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
✨ Added announcement bar setting
no issue Allows publishers to set a banner at the top of their site
This commit is contained in:
parent
62adec50f0
commit
f9f5f72752
2 changed files with 2 additions and 15 deletions
|
@ -333,19 +333,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="gh-expandable-block">
|
|
||||||
<div class="gh-expandable-header">
|
|
||||||
<div>
|
|
||||||
<h4 class="gh-expandable-title">Announcement bar</h4>
|
|
||||||
<p class="gh-expandable-description">
|
|
||||||
Allows publishers to set a banner at the top of their site
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="for-switch">
|
|
||||||
<GhFeatureFlag @flag="announcementBar" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="gh-expandable-block">
|
<div class="gh-expandable-block">
|
||||||
<div class="gh-expandable-header">
|
<div class="gh-expandable-header">
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -21,7 +21,8 @@ const GA_FEATURES = [
|
||||||
'audienceFeedback',
|
'audienceFeedback',
|
||||||
'themeErrorsNotification',
|
'themeErrorsNotification',
|
||||||
'emailErrors',
|
'emailErrors',
|
||||||
'outboundLinkTagging'
|
'outboundLinkTagging',
|
||||||
|
'announcementBar'
|
||||||
];
|
];
|
||||||
|
|
||||||
// NOTE: this allowlist is meant to be used to filter out any unexpected
|
// NOTE: this allowlist is meant to be used to filter out any unexpected
|
||||||
|
@ -42,7 +43,6 @@ const ALPHA_FEATURES = [
|
||||||
'makingItRain',
|
'makingItRain',
|
||||||
'postHistory',
|
'postHistory',
|
||||||
'postDiffing',
|
'postDiffing',
|
||||||
'announcementBar',
|
|
||||||
'imageEditor'
|
'imageEditor'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue