Show coauthor
This commit is contained in:
parent
798ebc2c63
commit
41ce35b3e9
|
@ -14,6 +14,10 @@ #article-main {
|
|||
line-height: 125%;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
> #article-body {
|
||||
|
|
|
@ -19,6 +19,10 @@ class="{!! $mainLink['classes'] !!}"
|
|||
<time datetime="{{ $date->toIso8601String() }}">{{ $date->isoFormat('LL') }}</time>
|
||||
@endif
|
||||
|
||||
@if (!empty($bundle->metadata()->get('coauthor')))
|
||||
<p><small>Article coécrit avec {{ $bundle->metadata()->get('coauthor.0.name') }}</small></p>
|
||||
@endif
|
||||
|
||||
@if (!empty($cover))
|
||||
{!! $cover !!}
|
||||
@endif
|
||||
|
@ -47,6 +51,10 @@ class="{!! $mainLink['classes'] !!}"
|
|||
@endif
|
||||
</section>
|
||||
@endif
|
||||
|
||||
<footer>
|
||||
@dump($bundle->virtualMetadata()->all())
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
@if (!empty($pagination['items']))
|
||||
|
|
Loading…
Reference in New Issue
Block a user