hugo-theme-bootstrap5-blog/layouts/partials/sidebar.html
Alan Orth d492b96562
All checks were successful
continuous-integration/drone/push Build is passing
layouts: Fix a few outdated .font-italic uses
In Bootstrap v5 the font utility classes were renamed.
2020-12-12 17:35:47 +02:00

26 lines
642 B
HTML

<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="fst-italic">About</h4>
<p class="mb-0">{{ .Site.Params.sidebar.about | markdownify }}</p>
</div>
{{ end }}
{{ if .Site.Params.sidebar }}
{{ partialCached "recent.html" .}}
{{ end }}
{{ with .Site.Menus.sidebar }}
<div class="p-4">
<h4 class="fst-italic">Elsewhere</h4>
<ol class="list-unstyled">
{{ range . }}
<li><a href="{{ .URL | absURL }}">{{ .Name }}</a></li>
{{ end }}
</ol>
</div>
{{ end }}
</div>
{{- /* vim: set ts=2 sw=2 et: */}}