Fixed post/page wording on "View published x on site" button

This commit is contained in:
Kevin Ansfield 2022-05-05 16:05:20 +01:00
parent 8fb0d6ebb2
commit c6fdfab454

View File

@ -40,7 +40,7 @@
<button type="button" class="gh-btn gh-btn-black gh-btn-large" {{on "click" @close}}><span>Back to {{post.displayName}}</span></button>
{{#unless post.emailOnly}}
<div class="gh-publish-cta-secondary">
<a href={{post.url}} class="gh-btn gh-btn-link gh-btn-large" target="_blank" rel="noopener noreferrer">View published post on site</a>
<a href={{post.url}} class="gh-btn gh-btn-link gh-btn-large" target="_blank" rel="noopener noreferrer">View published {{post.displayName}} on site</a>
</div>
{{/unless}}
</div>