Add syndication links for swarm and instagram

This commit is contained in:
Jonny Barnes 2017-06-17 14:34:33 +01:00
parent 02cdcbf4f1
commit cd35e6c166
3 changed files with 29 additions and 1 deletions

View file

@ -23,7 +23,18 @@
@if($note->replies > 0) @include('templates.replies-icon'): {{ $note->replies }}@endif
</div>
<div class="social-links">
@if($note->tweet_id || $note->facebook_url)@include('templates.social-links', ['tweet_id' => $note->tweet_id, 'facebook_url' => $note->facebook_url])@endif
@if(
$note->tweet_id ||
$note->facebook_url ||
$note->swarm_url ||
$note->instagram_url)
@include('templates.social-links', [
'tweet_id' => $note->tweet_id,
'facebook_url' => $note->facebook_url,
'swarm_url' => $note->swarm_url,
'instagram_url' => $note->instagram_url,
])
@endif
</div>
</div>
@if ($note->placeLink)