layouts: Fix a few outdated .font-italic uses
All checks were successful
continuous-integration/drone/push Build is passing

In Bootstrap v5 the font utility classes were renamed.
This commit is contained in:
2020-12-12 17:35:47 +02:00
parent ce27c4e6a1
commit d492b96562
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@
{{ if eq $index 0 }}
<div class="p-4 p-md-5 mb-4 text-white rounded bg-dark">
<div class="col-md-6 px-0">
<h1 class="display-4 font-italic">{{ .Title }}</h1>
<h1 class="display-4 fst-italic">{{ .Title }}</h1>
<p class="lead my-3">{{ substr .Description 0 110 }}</p>
<p class="lead mb-0"><a href="{{ .Permalink }}" class="text-white fw-bold">Continue reading...</a></p>
</div>