mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
0f839a9d27
refs https://github.com/TryGhost/Team/issues/1211 We've moved the rendering of HTML outside of the OEmbed endpoint - so the Admin needs to handle constructing the HTML from the OEmbed response metadata.
18 lines
737 B
Handlebars
18 lines
737 B
Handlebars
<a href="{{this.payload.url}}" class="kg-nft-card">
|
|
<img class="kg-nft-image" src="{{this.payload.metadata.image_url}}">
|
|
<div class="kg-nft-metadata">
|
|
<div class="kg-nft-header">
|
|
<h4 class="kg-nft-title"> {{this.payload.metadata.title}} </h4>
|
|
</div>
|
|
<div class="kg-nft-creator">
|
|
Created by <span class="kg-nft-creator-name">{{this.payload.metadata.author_name}}</span>
|
|
{{#if this.payload.metadata.author_name}}
|
|
• {{this.payload.metadata.author_name}}
|
|
{{/if}}
|
|
</div>
|
|
{{#if this.payload.metadata.description}}
|
|
<p class="kg-nft-description">{{this.payload.metadata.description}}</p>
|
|
{{/if}}
|
|
</div>
|
|
</a>
|