mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
3f0ec1af3d
Refs https://github.com/TryGhost/Team/issues/2738 - With all footer additions and changes, the subscription box did not match the rest of the design and is therefore updated.
51 lines
2.7 KiB
Handlebars
51 lines
2.7 KiB
Handlebars
{{#each latestPosts}}
|
|
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td class="latest-post">
|
|
<a href="{{url}}" style="{{#if ../latestPostsHasImages}}{{#if featureImage}}height: 96px;{{else}}padding-bottom: 12px;{{/if}}{{/if}}">
|
|
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
{{#if ../latestPostsHasImages}}
|
|
{{#if featureImage}}
|
|
<td class="latest-post-img-mobile">
|
|
<img
|
|
src="{{featureImageMobile.src}}"
|
|
{{#if featureImageMobile.width }}
|
|
width="{{featureImageMobile.width}}"
|
|
{{/if}}
|
|
{{#if featureImageMobile.height }}
|
|
height="{{featureImageMobile.height}}"
|
|
{{/if}}
|
|
/>
|
|
</td>
|
|
{{/if}}
|
|
{{/if}}
|
|
<td valign="top" align="left" class="latest-post-title">
|
|
<h4 class="{{#if ../latestPostsHasImages}}{{#if (not featureImage)}}no-image{{/if}}{{/if}}">{{title}}</h4>
|
|
{{#if excerpt}}
|
|
<p>{{excerpt}}</p>
|
|
{{/if}}
|
|
</td>
|
|
{{#if ../latestPostsHasImages}}
|
|
{{#if featureImage}}
|
|
<td width="120" class="latest-post-img">
|
|
<img
|
|
src="{{featureImage.src}}"
|
|
{{#if featureImage.width }}
|
|
width="{{featureImage.width}}"
|
|
{{/if}}
|
|
{{#if featureImage.height }}
|
|
height="{{featureImage.height}}"
|
|
{{/if}}
|
|
/>
|
|
</td>
|
|
{{/if}}
|
|
{{/if}}
|
|
</tr>
|
|
</table>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{{/each}}
|