Snapshot of main at 9f39a6e1e (2026-11-02)
This commit is contained in:
commit
6ccf1792d7
2580 files changed
+1040202
No files matched your search
@@ -0,0 +1,83 @@
|
||||
{{-- News Block Template for Email Newsletter --}}
|
||||
<table role="presentation" class="content-block" width="100%" cellpadding="0" cellspacing="0" border="0" style="padding-top: 0;">
|
||||
<tr>
|
||||
<td>
|
||||
{{-- Image --}}
|
||||
@if(isset($post['image']) && $post['image'])
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px;">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<img src="{{ $post['image'] }}" alt="{{ $post['title'] }}"
|
||||
style="max-width: 100%; width: 100%; height: auto; display: block; border: 0;" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
{{-- Location prefix for news --}}
|
||||
@if(isset($post['location_prefix']) && $post['location_prefix'])
|
||||
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: {{ theme_color('brand') }}; text-transform: uppercase; margin: 0 0 10px 0; letter-spacing: 1px;">
|
||||
{{ $post['location_prefix'] }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
{{-- Title --}}
|
||||
<h2 style="font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: {{ theme_color('text.primary') }}; margin: 0 0 15px 0; padding: 0; line-height: 1.3;">
|
||||
<a href="{{ $post['url'] }}" style="color: {{ theme_color('text.primary') }}; text-decoration: none;">
|
||||
{{ $post['title'] }}
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
{{-- Category --}}
|
||||
@if(isset($post['category']) && $post['category'])
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 15px 0;">
|
||||
<tr>
|
||||
<td style="background-color: {{ theme_color('brand') }}; padding: 4px 12px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #ffffff; font-weight: bold;">
|
||||
{{ $post['category'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
{{-- Excerpt --}}
|
||||
@if(isset($post['excerpt']) && $post['excerpt'])
|
||||
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.secondary') }}; margin: 0; padding: 0; line-height: 1.5;">
|
||||
{{ $post['excerpt'] }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
{{-- Author and date --}}
|
||||
@if(isset($post['author']) && $post['author'])
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-top: 15px; margin-bottom: 0;">
|
||||
<tr>
|
||||
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.secondary') }}; padding-bottom: 0;">
|
||||
<span style="font-weight: bold;">{{ __('By') }} {{ $post['author'] }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
{{-- Read more button --}}
|
||||
@if(!isset($post['show_button']) || $post['show_button'])
|
||||
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" align="center" style="margin: 20px auto 0 auto;">
|
||||
<tr>
|
||||
<td align="center" style="border-radius: 6px; background-color: {{ theme_color('brand') }};">
|
||||
<!--[if mso]>
|
||||
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $post['url'] }}" style="height:40px;v-text-anchor:middle;width:200px;" arcsize="15%" stroke="f" fillcolor="{{ theme_color('brand') }}">
|
||||
<w:anchorlock/>
|
||||
<center>
|
||||
<![endif]-->
|
||||
<a href="{{ $post['url'] }}" style="background-color: {{ theme_color('brand') }}; border-radius: 6px; color: #ffffff; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; line-height: 40px; text-align: center; text-decoration: none; width: 200px; -webkit-text-size-adjust: none; mso-hide: all;">
|
||||
{{ __('Full article') }}
|
||||
</a>
|
||||
<!--[if mso]>
|
||||
</center>
|
||||
</v:roundrect>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in new issue
Block a user