diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 20bf9d06..4e08bb86 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,6 +4,7 @@ {{ partial "toc.html" . }}
+

{{ .Title }}

diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 797f635e..10089011 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -3,7 +3,8 @@ {{ partial "sidebar.html" (dict "context" . "disableSidebar" true "displayPlaceholder" true) }}
-

{{ .Title }}

+
+

{{ .Title }}

{{ .Content }}
{{ range .Pages.ByDate }}
diff --git a/layouts/shortcodes/card.html b/layouts/shortcodes/card.html index 3d9af166..263c635a 100644 --- a/layouts/shortcodes/card.html +++ b/layouts/shortcodes/card.html @@ -12,23 +12,24 @@ {{- $external := strings.HasPrefix $link "http" -}} + {{- with $image -}} - {{ $title }} + {{ $title }} {{- end -}} - {{ $padding := "p-4"}} + {{- $padding := "p-4" -}} {{- with $subtitle -}} - {{ $padding = "pt-4 px-4"}} + {{- $padding = "pt-4 px-4" -}} {{- end -}} + {{- with $icon }}{{ partial "utils/icon.html" (dict "name" $icon) -}}{{ end -}} {{- $title -}}