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