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