Skip to content

Commit

Permalink
Merge pull request #52 from jwade1327/limit
Browse files Browse the repository at this point in the history
Adjust limit on all newsletter to 15 articles
  • Loading branch information
Shinsina authored Jan 9, 2024
2 parents 584fe0c + 21cbc7e commit 5da8d0e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions packages/common/components/layouts/breaking-news.marko
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ $ const nativeX = config.getAsObject("nativeX");
with-image=true
image-position="top"
with-section=true
limit=15
/>

<!-- Ad Slot 1 -->
Expand Down
2 changes: 1 addition & 1 deletion packages/common/components/layouts/insider.marko
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $ const nativeX = config.getAsObject("nativeX");
newsletter=newsletter
with-image=false
with-section=true
limit=(displayLimit - 5)
limit=10
skip=4
/>

Expand Down
2 changes: 1 addition & 1 deletion packages/common/components/layouts/radcast.marko
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $ const { id, alias, name, pageNode } = input;
image-position="right"
with-section=true
skip=2
limit=98
limit=12
/>

</@body>
Expand Down
2 changes: 1 addition & 1 deletion packages/common/components/layouts/rsna.marko
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $ const nativeX = config.getAsObject("nativeX");
newsletter=newsletter
with-image=false
with-section=true
limit=98
limit=13
skip=2
/>

Expand Down
2 changes: 1 addition & 1 deletion packages/common/components/layouts/standard.marko
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
with-image=false
with-section=true
skip=2
limit=8
limit=7
/>

<!-- Content list block -->
Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/am-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
with-image=false
with-section=true
skip=3
limit=97
limit=6
/>

<if(caseBlock === true)>
Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/am-rsna-preview.marko
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $ const nativeX = config.getAsObject("nativeX");
newsletter=newsletter
with-image=false
with-section=true
limit=38
limit=13
skip=1
/>

Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/ame-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
with-image=false
with-section=true
skip=3
limit=42
limit=9
/>

<if(caseBlock === true)>
Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/drb-community-insider.marko
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $ const nativeX = config.getAsObject("nativeX");
newsletter=newsletter
with-image=false
with-section=true
limit=(displayLimit - 5)
limit=9
skip=5
/>

Expand Down
2 changes: 1 addition & 1 deletion tenants/all/templates/drb-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
with-image=false
with-section=true
skip=3
limit=7
limit=6
/>

<if(caseBlock === true)>
Expand Down

0 comments on commit 5da8d0e

Please sign in to comment.