Skip to content

Commit

Permalink
Enable content gate
Browse files Browse the repository at this point in the history
  • Loading branch information
jwade1327 committed Nov 25, 2024
1 parent e2ff9b3 commit a6f9393
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/global/components/layouts/content/default.marko
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ $ const shouldInjectAds = ["article", "blog", "video", "media-gallery", "news",

$ const requiresRegistration = get(content, "userRegistration.isCurrentlyRequired");
<marko-web-identity-x-access|context| enabled=requiresRegistration>
<!-- <if(!context.canAccess || context.requiresUserInput)> -->
<if(false)>
<if(!context.canAccess || context.requiresUserInput)>
$ const body = getContentPreview({ body: content.body, selector: "p:nth-of-type(1)" });
<marko-web-content-body block-name=blockName obj={ body } />

Expand Down

0 comments on commit a6f9393

Please sign in to comment.