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

@ -1,7 +1,7 @@
<div class="col-md-4">
{{ if and (.Site.Params.sidebar) (isset .Site.Params.sidebar "about") }}
<div class="p-4 mb-3 bg-light rounded">
<h4 class="font-italic">About</h4>
<h4 class="fst-italic">About</h4>
<p class="mb-0">{{ .Site.Params.sidebar.about | markdownify }}</p>
</div>
{{ end }}
@ -12,7 +12,7 @@
{{ with .Site.Menus.sidebar }}
<div class="p-4">
<h4 class="font-italic">Elsewhere</h4>
<h4 class="fst-italic">Elsewhere</h4>
<ol class="list-unstyled">
{{ range . }}
<li><a href="{{ .URL | absURL }}">{{ .Name }}</a></li>