From d492b9656266ad6402c8da23fbdda3646634e9f0 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 12 Dec 2020 17:35:47 +0200 Subject: [PATCH] layouts: Fix a few outdated .font-italic uses In Bootstrap v5 the font utility classes were renamed. --- layouts/_default/home.html | 2 +- layouts/partials/featured.html | 2 +- layouts/partials/recent.html | 2 +- layouts/partials/sidebar.html | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/_default/home.html b/layouts/_default/home.html index fe8a91a..eb32e9f 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -34,7 +34,7 @@
-

+

From the Firehose

diff --git a/layouts/partials/featured.html b/layouts/partials/featured.html index c1a0a13..d38f718 100644 --- a/layouts/partials/featured.html +++ b/layouts/partials/featured.html @@ -5,7 +5,7 @@ {{ if eq $index 0 }}
-

{{ .Title }}

+

{{ .Title }}

{{ substr .Description 0 110 }}

Continue reading...

diff --git a/layouts/partials/recent.html b/layouts/partials/recent.html index fc8585c..63ca9d5 100644 --- a/layouts/partials/recent.html +++ b/layouts/partials/recent.html @@ -1,5 +1,5 @@
-

Archives

+

Archives

    {{ $num_recent_posts := (index .Site.Params.sidebar "num_recent_posts" | default 5) }} {{ range first $num_recent_posts (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 7d2dea0..e3f6a5b 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,7 +1,7 @@
    {{ if and (.Site.Params.sidebar) (isset .Site.Params.sidebar "about") }}
    -

    About

    +

    About

    {{ .Site.Params.sidebar.about | markdownify }}

    {{ end }} @@ -12,7 +12,7 @@ {{ with .Site.Menus.sidebar }}
    -

    Elsewhere

    +

    Elsewhere

      {{ range . }}
    1. {{ .Name }}