2022-04-26 13:29:44 +03:00
<section class="gh-dashboard5-resource gh-dashboard5-newsletter" {{ did-insert this .load }} >
<article class="gh-dashboard5-resource-box">
<div class="gh-dashboard5-resource-title">
2022-04-28 17:48:14 +03:00
<h4>Latest from the newsletter</h4>
2022-04-26 13:29:44 +03:00
</div>
<div class="gh-dashboard5-resource-body">
2022-04-22 13:42:51 +03:00
{{ # if ( not ( or this .loading this .error ) ) }}
2022-04-28 17:48:14 +03:00
<div class="gh-dashboard5-resource-bigarticle">
2022-04-26 13:29:44 +03:00
{{ # each this .newsletters as | entry | }}
<a class="gh-dashboard5-resource-smallarticle" href= {{ set-query-params entry .url utm_source = 'admin' }} target="_blank" rel="noopener noreferrer">
<div class="gh-dashboard5-resource-text">
2022-04-28 17:48:14 +03:00
<h3> {{ entry .title }} </h3>
<p> {{ entry .excerpt }} </p>
{{!-- <div class="gh-dashboard5-resource-secondary">{{moment-format entry.published_at "D MMM YYYY"}}</div> --}}
2022-04-22 13:42:51 +03:00
</div>
2022-04-26 13:29:44 +03:00
</a>
{{ / each }}
</div>
2022-04-22 13:42:51 +03:00
{{ / if }}
2022-04-26 13:29:44 +03:00
</div>
<div class="gh-dashboard5-resource-footer">
2022-04-28 17:48:14 +03:00
<a href="https://ghost.org/resources/newsletter/" target="_blank" class="gh-dashboard5-subscribe-button" rel="noopener noreferrer">Subscribe to the newsletter →</a>
2022-04-26 13:29:44 +03:00
</div>
2022-04-22 13:42:51 +03:00
</article>
2022-05-02 11:45:15 +03:00
</section>