From 4bd358191a5dcc5290017dc6bc6b863b74f41284 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 24 Jan 2023 10:08:23 -0500 Subject: [PATCH] [BSv5] More utility updates (#1361) --- layouts/blog/baseof.html | 2 +- layouts/blog/baseof.print.html | 2 +- layouts/blog/list.html | 4 ++-- layouts/docs/baseof.html | 2 +- layouts/docs/baseof.print.html | 2 +- layouts/partials/pager.html | 2 +- layouts/partials/sidebar-tree.html | 6 +++--- layouts/shortcodes/tabpane.html | 2 +- layouts/swagger/baseof.html | 2 +- userguide/config.yaml | 2 +- userguide/content/en/_index.html | 8 ++++---- .../content/en/docs/adding-content/shortcodes/index.md | 8 ++++---- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html index 4a7a60ee4d..01ea1eaffb 100644 --- a/layouts/blog/baseof.html +++ b/layouts/blog/baseof.html @@ -18,7 +18,7 @@ {{ partial "toc.html" . }} {{ partial "taxonomy_terms_clouds.html" . }} -
+
{{ with .CurrentSection.OutputFormats.Get "rss" -}} diff --git a/layouts/blog/baseof.print.html b/layouts/blog/baseof.print.html index b0cc3d23c7..99e3c1c4d1 100644 --- a/layouts/blog/baseof.print.html +++ b/layouts/blog/baseof.print.html @@ -14,7 +14,7 @@
-
+
{{ block "main" . }}{{ end }}
diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 074da076a7..b3f54aa11d 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -23,7 +23,7 @@
{{ .Title }}
{{ partial "reading-time.html" . }} {{ end }} - {{ partial "featured-image.html" (dict "p" . "w" 250 "h" 125 "class" "float-left me-3 pt-1 d-none d-md-block") }} + {{ partial "featured-image.html" (dict "p" . "w" 250 "h" 125 "class" "float-start me-3 pt-1 d-none d-md-block") }}

{{ .Plain | safeHTML | truncate 250 }}

{{ T "ui_read_more"}}

@@ -34,7 +34,7 @@
{{ .Title }}
{{ end }} -
+
{{ if .Pages }} {{ template "_internal/pagination.html" . }} diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 4f8855325c..210b6af52a 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -18,7 +18,7 @@ {{ partial "toc.html" . }} {{ partial "taxonomy_terms_clouds.html" . }} -
+
{{ partial "version-banner.html" . }} {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} {{ block "main" . }}{{ end }} diff --git a/layouts/docs/baseof.print.html b/layouts/docs/baseof.print.html index d268ca7c37..41e0659b3e 100644 --- a/layouts/docs/baseof.print.html +++ b/layouts/docs/baseof.print.html @@ -10,7 +10,7 @@
-
+
{{ block "main" . }}{{ end }}
diff --git a/layouts/partials/pager.html b/layouts/partials/pager.html index de35b13242..f24a5c0df7 100644 --- a/layouts/partials/pager.html +++ b/layouts/partials/pager.html @@ -3,6 +3,6 @@ {{ T "ui_pager_prev" }}
  • - {{ T "ui_pager_next" }}? + {{ T "ui_pager_next" }}
  • diff --git a/layouts/partials/sidebar-tree.html b/layouts/partials/sidebar-tree.html index 99e1c52647..b7aeb3cbb4 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -28,7 +28,7 @@ {{ $ulNr := 0 -}} {{ $ulShow := cond (isset .Site.Params.ui "ul_show") .Site.Params.ui.ul_show 1 -}} {{ $sidebarMenuTruncate := cond (isset .Site.Params.ui "sidebar_menu_truncate") .Site.Params.ui.sidebar_menu_truncate 50 -}} -