Add date to paragraph title template

This commit is contained in:
Keegan Rankin 2023-07-13 17:55:35 -07:00
parent ea1c1a1a37
commit 2e7f90350d
2 changed files with 17 additions and 2 deletions

View file

@ -150,7 +150,17 @@
font-size: $size-5;
line-height: 1.4em;
}
.title + .subtitle {
.authors {
color: currentColor;
font-size: $size-5;
line-height: 1em;
}
.created-date {
color: currentColor;
font-size: $size-5;
line-height: 1em;
}
.title + .subtitle, .created-date {
margin-top: 1em;
}
}

View file

@ -78,7 +78,12 @@
<div class="hero-body">
{{ content.field_title }}
{{ content.field_subtitle }}
{{ authors }}
<div class="authors">
{{ authors }}
</div>
<div class="created-date">
Posted on {{ date }}
</div>
</div>
</div>
{% else %}