mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added externalAttribution
feature flag
fixes https://github.com/TryGhost/Team/issues/2430
This commit is contained in:
parent
5a90975288
commit
87be76ebb3
3 changed files with 16 additions and 1 deletions
|
@ -65,6 +65,7 @@ export default class FeatureService extends Service {
|
|||
@feature('suppressionList') suppressionList;
|
||||
@feature('emailStability') emailStability;
|
||||
@feature('webmentions') webmentions;
|
||||
@feature('externalAttribution') externalAttribution;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
|
|
@ -239,6 +239,19 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">External attribution</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Adds ?ref to external links in web posts and adds a setting to control this for both web and newsletters.
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="externalAttribution" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -33,7 +33,8 @@ const ALPHA_FEATURES = [
|
|||
'urlCache',
|
||||
'beforeAfterCard',
|
||||
'lexicalEditor',
|
||||
'webmentions'
|
||||
'webmentions',
|
||||
'externalAttribution'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
|
Loading…
Add table
Reference in a new issue