🐛 Re-add comment

This commit is contained in:
Clement 2020-07-20 16:55:30 +02:00
parent 0c155199db
commit b07c89a69f
1 changed files with 15 additions and 1 deletions

View File

@ -3,6 +3,8 @@ subject: "ReadLaterByEmail link"
LOGO: "{{ asset('images/logo.png') }}"
IMAGE: "{{ $link->image }}"
IMAGE_VAR: "$link->image"
COMMENT: "{{ $link->comment }}"
COMMENT_VAR: "$link->comment"
TITLE: "{{ $link->title }}"
EXCERPT: "@if(!empty($link->excerpt)) {!! $link->excerpt !!} @else {{ $link->description }} @endif"
URL: "{{ $link->url }}"
@ -15,12 +17,24 @@ URL: "{{ $link->url }}"
@if(!empty({{{ IMAGE_VAR }}}))
<columns large="6" valign="middle">
<center>
<img src="{{{ IMAGE }}}" alt="">
<img src="{{{ IMAGE }}}" alt="" style="max-width: 300px">
</center>
</columns>
@endif
</row>
@if(!empty({{{ COMMENT_VAR }}}))
<hr/>
<row>
<columns>
<spacer size="16"></spacer>
<p class="text-center">
{{{ COMMENT }}}
</p>
</columns>
</row>
@endif
<hr/>
<row>