Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/ue/scaffold.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ export function getUEHtmlHeadEntries(daCtx, aemCtx) {
}),
);

// TODO: temporary fix to disable duplicate content functionality
children.push(
h('meta', {
name: 'urn:adobe:aue:config:disable',
content: 'duplicate',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be duplicate,copy to disable both copy functionalities

}),
);

return children;
}

Expand Down
4 changes: 2 additions & 2 deletions test/ue/scaffold.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('UE scaffold', () => {

// Check meta tags
const metaTags = entries.filter((entry) => entry.tagName === 'meta');
assert.strictEqual(metaTags.length, 3);
assert.strictEqual(metaTags.length, 4);

// Check system:ab meta tag
const ueSystemTag = metaTags.find(
Expand Down Expand Up @@ -133,7 +133,7 @@ describe('UE scaffold', () => {

// Check meta tags
const metaTags = entries.filter((entry) => entry.tagName === 'meta');
assert.strictEqual(metaTags.length, 3);
assert.strictEqual(metaTags.length, 4);

// Check system:ab meta tag
const ueSystemTag = metaTags.find(
Expand Down