mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
Added logic for displaying author and publisher
refs https://github.com/TryGhost/Team/issues/2434
This commit is contained in:
parent
3737788d75
commit
f7f2224fc5
@ -16,8 +16,12 @@
|
||||
<p class="gh-mention-description">{{mention.sourceExcerpt}}</p>
|
||||
<div class="gh-mention-metadata">
|
||||
<img src="{{mention.sourceFavicon}}" alt="{{mention.sourceSiteTitle}}" class="gh-mention-icon">
|
||||
<span class="gh-mention-publisher">{{mention.sourceSiteTitle}}</span>
|
||||
<span class="gh-mention-author">{{mention.sourceAuthor}}</span>
|
||||
{{#if mention.sourceSiteTitle}}
|
||||
<span class="gh-mention-publisher">{{mention.sourceSiteTitle}}</span>
|
||||
{{/if}}
|
||||
{{#if mention.sourceAuthor}}
|
||||
<span class="gh-mention-author">{{mention.sourceAuthor}}</span>
|
||||
{{/if}}
|
||||
<span class="gh-mention-timestamp">{{gh-format-post-time mention.timestamp}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user