mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 09:22:49 +03:00
25 lines
1.2 KiB
Handlebars
25 lines
1.2 KiB
Handlebars
<section class="gh-dashboard-resource gh-dashboard-newsletter" {{did-insert this.load}}>
|
|
<article class="gh-dashboard-resource-box">
|
|
<div class="gh-dashboard-resource-title">
|
|
<h4>The Ghost Newsletter</h4>
|
|
</div>
|
|
<div class="gh-dashboard-resource-body">
|
|
{{#if (not (or this.loading this.error))}}
|
|
<div class="gh-dashboard-resource-bigarticle">
|
|
{{#each this.newsletters as |entry|}}
|
|
<a class="gh-dashboard-resource-smallarticle" href={{set-query-params entry.url utm_source='admin'}} target="_blank" rel="noopener noreferrer">
|
|
<div class="gh-dashboard-resource-text">
|
|
<h3>{{entry.title}}</h3>
|
|
<p>{{entry.excerpt}}</p>
|
|
</div>
|
|
</a>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
<div class="gh-dashboard-resource-footer">
|
|
<a href="https://ghost.org/resources/newsletter/" target="_blank" class="gh-dashboard-subscribe-button" rel="noopener noreferrer">Get weekly tips in your inbox →</a>
|
|
</div>
|
|
</article>
|
|
</section>
|