Display sub-title
This commit is contained in:
parent
5700c2ec65
commit
544af4e2a7
|
@ -38,6 +38,10 @@ .article-list {
|
|||
flex-grow: 1;
|
||||
align-content: center;
|
||||
margin: .5rem;
|
||||
|
||||
small {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
|
@ -13,6 +13,11 @@ #article-main {
|
|||
color: #fff;
|
||||
line-height: 125%;
|
||||
padding: 0 1em;
|
||||
|
||||
small {
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
small {
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
<h2>{!! $bundle->getArticleTitle() !!}</h2>
|
||||
<h2>{!! $bundle->getArticleTitle() !!}
|
||||
@if (!empty($bundle->metadata()->get('subTitle')))
|
||||
<small>{{ $bundle->metadata()->get('subTitle') }}</small>
|
||||
@endif</h2>
|
||||
<section class="article-card-body">
|
||||
@if (!empty($date))
|
||||
<p><time datetime="{{ $date->toIso8601String() }}">{{ $date->isoFormat('LL') }}</time></p>
|
||||
|
|
|
@ -4,7 +4,10 @@
|
|||
<article id="article-main">
|
||||
<header>
|
||||
@if (empty($bundle->metadata()->get('hide_title')))
|
||||
<h1>{{ $articleTitle }}</h1>
|
||||
<h1>{{ $articleTitle }}
|
||||
@if (!empty($bundle->metadata()->get('subTitle')))
|
||||
<small>{{ $bundle->metadata()->get('subTitle') }}</small>
|
||||
@endif</h1>
|
||||
@endif
|
||||
|
||||
@if(!empty($mainLink))
|
||||
|
|
Loading…
Reference in New Issue
Block a user