Skip to content

Commit

Permalink
Fixed {templateType} macros in Latte templates
Browse files Browse the repository at this point in the history
  • Loading branch information
tg666 committed Nov 23, 2023
1 parent 7226b67 commit 050a9f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Renderer/Latte/Templates/multiple.latte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{templateType SixtyEightPublishers\AmpClient\Bridge\Latte\Templates\MultipleTemplate}
{templateType SixtyEightPublishers\AmpClient\Renderer\Latte\Templates\MultipleTemplate}

<div data-amp-banner="{$position->getCode()}" data-amp-attached>
{do $banners = array_filter($banners, fn(SixtyEightPublishers\AmpClient\Response\ValueObject\Banner $banner) => 0 < count($banner->getContents()))}
Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/Latte/Templates/notFound.latte
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{templateType SixtyEightPublishers\AmpClient\Bridge\Latte\Templates\NotFoundTemplate}
{templateType SixtyEightPublishers\AmpClient\Renderer\Latte\Templates\NotFoundTemplate}

<div data-amp-banner="{$position->getCode()}" data-amp-attached></div>
2 changes: 1 addition & 1 deletion src/Renderer/Latte/Templates/random.latte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{templateType SixtyEightPublishers\AmpClient\Bridge\Latte\Templates\RandomTemplate}
{templateType SixtyEightPublishers\AmpClient\Renderer\Latte\Templates\RandomTemplate}

<div data-amp-banner="{$position->getCode()}" data-amp-attached>
<div n:if="null !== $banner && 0 < count($banner->getContents())"
Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/Latte/Templates/single.latte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{templateType SixtyEightPublishers\AmpClient\Bridge\Latte\Templates\SingleTemplate}
{templateType SixtyEightPublishers\AmpClient\Renderer\Latte\Templates\SingleTemplate}

<div data-amp-banner="{$position->getCode()}" data-amp-attached>
<div n:if="null !== $banner && 0 < count($banner->getContents())"
Expand Down

0 comments on commit 050a9f9

Please sign in to comment.