@extends('master')
@section('title'){{ strip_tags($note->getOriginal('note')) }} « Notes « @stop
@section('content')
@include('templates.note', ['note' => $note])
@foreach($note->webmentions->filter(function ($webmention) {
return ($webmention->type == 'in-reply-to');
}) as $reply)
@endforeach
@if($note->webmentions->filter(function ($webmention) {
return ($webmention->type == 'like-of');
})->count() > 0) Likes
@foreach($note->webmentions->filter(function ($webmention) {
return ($webmention->type == 'like-of');
}) as $like)
@endforeach
@endif
@if($note->webmentions->filter(function ($webmention) {
return ($webmention->type == 'repost-of');
})->count() > 0) Reposts
@foreach($note->webmentions->filter(function ($webmention) {
return ($webmention->type == 'repost-of');
}) as $repost)
{{ $repost['author']['properties']['name'][0] }}
reposted this at {{ $repost['published'] }}.
@endforeach
@endif
@stop
@section('scripts')
@include('templates.mapbox-links')
@stop