Skip to content

Commit

Permalink
Merge pull request #87 from jwade1327/drb-new-section
Browse files Browse the repository at this point in the history
Create 'Community Insider' block to DrB-LFTE and rename Main section to Top Stories
  • Loading branch information
B77Mills authored Sep 24, 2024
2 parents 60e2902 + 6965c9a commit 224670e
Showing 1 changed file with 28 additions and 8 deletions.
36 changes: 28 additions & 8 deletions tenants/all/templates/drb-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,20 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({

<common-content-list-block
date=date
section-name="Main"
section-name="Top Stories"
newsletter=newsletter
with-image=true
image-position="right"
with-section=true
with-header=true
limit=1
skip=0
/>

<!-- Content list block -->
<common-content-list-block
date=date
section-name="Main"
section-name="Top Stories"
newsletter=newsletter
with-image=false
with-section=true
Expand All @@ -80,15 +81,35 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({

<common-content-list-block
date=date
section-name="Main"
section-name="Top Stories"
newsletter=newsletter
with-image=true
image-position="right"
with-section=true
limit=2
limit=7
skip=2
/>

<common-content-list-block
date=date
section-name="Community Insider"
newsletter=newsletter
with-image=false
with-section=true
with-header=true
limit=1
/>

<common-content-list-block
date=date
section-name="Community Insider"
newsletter=newsletter
with-image=false
with-section=true
limit=1
skip=1
/>

<common-ad-wrapper-block
date=date
newsletter=newsletter
Expand All @@ -97,15 +118,14 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
placement-id=get(nativeX, `placements.${newsletter.alias}.slot-2`)
/>

<!-- Content list block -->
<common-content-list-block
date=date
section-name="Main"
section-name="Community Insider"
newsletter=newsletter
with-image=false
with-section=true
skip=4
limit=5
limit=4
skip=2
/>

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

0 comments on commit 224670e

Please sign in to comment.