Skip to content

Commit

Permalink
Merge pull request #89 from jwade1327/newSection
Browse files Browse the repository at this point in the history
Create new section & ad unit AM-LFTE
  • Loading branch information
jwade1327 authored Oct 22, 2024
2 parents b9d69db + 2de9f89 commit 219c1c1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
6 changes: 6 additions & 0 deletions tenants/all/config/email-x.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ config
width: 300,
height: 250,
},
{
name: 'ad-slot-3',
id: '671708e08a67fca32e87440d',
width: 300,
height: 250,
},
{
name: 'case-sponsor',
id: '6644e5313a17bf3cf0123d9d',
Expand Down
37 changes: 33 additions & 4 deletions tenants/all/templates/am-lfte.marko
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({

<common-content-list-block
date=date
section-name="Radiology News"
section-name="Top Stories"
newsletter=newsletter
with-image=true
image-position="right"
Expand All @@ -90,7 +90,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
<!-- Content list block -->
<common-content-list-block
date=date
section-name="Radiology News"
section-name="Top Stories"
newsletter=newsletter
with-image=false
with-section=true
Expand All @@ -100,7 +100,7 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({

<common-content-list-block
date=date
section-name="Radiology News"
section-name="Top Stories"
newsletter=newsletter
with-image=true
image-position="right"
Expand All @@ -121,14 +121,43 @@ $ const resolvedToNodesConverter = ({ resolved }) => (resolved.map((node) => ({
<!-- Content list block -->
<common-content-list-block
date=date
section-name="Radiology News"
section-name="Top Stories"
newsletter=newsletter
with-image=false
with-section=true
skip=3
limit=11
/>

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

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

<!-- Ad Slot 3 -->
<common-ad-wrapper-block
newsletter=newsletter
ad-unit=emailX.getAdUnit({ name: 'ad-slot-3', alias: newsletter.alias })
date=date
/>

<if(caseBlock === true)>
<tr>
<td align="center" valign="top">
Expand Down

0 comments on commit 219c1c1

Please sign in to comment.