George Cushen committed 2023-11-02 16:38:09 +00:00
1 parent c80f023f21
commit 66b38685ac
4 files changed
+6 -6

No files matched your search

@@ -1,3 +1,3 @@
# Wowchemy
version = "5.9.0"
version = "5.9.1"
@@ -12,7 +12,7 @@
{{/* Show ToC by default. */}}
{{ if ne .Params.toc false }}
<div class="d-none d-xl-block col-xl-2 docs-toc">
{{ partial "functions/get_hook" (dict "hook" "toc-start" "context" .) }}
{{ partial "wowchemy-core/functions/get_hook" (dict "hook" "toc-start" "context" .) }}
<ul class="nav toc-top">
<li><a href="#" id="back_to_top" class="docs-toc-title">{{ i18n "on_this_page" }}</a></li>
@@ -20,7 +20,7 @@
{{ .TableOfContents }}
{{ partial "functions/get_hook" (dict "hook" "toc-end" "context" .) }}
{{ partial "wowchemy-core/functions/get_hook" (dict "hook" "toc-end" "context" .) }}
</div>
{{ end }}
@@ -33,7 +33,7 @@
</div>
{{/* Cover image */}}
{{ $cover_image := partial "functions/get_featured_image.html" . }}
{{ $cover_image := partial "wowchemy-core/functions/get_featured_image.html" . }}
{{ if $cover_image }}
<div class="article-header">
{{ $alt := (.Params.image.caption | default "") | plainify }}
@@ -10,7 +10,7 @@
{{ $has_logo := fileExists "assets/media/logo.png" | or (fileExists "assets/media/logo.svg") }}
{{ $logo := "" }}
{{ if $has_logo }}
{{ $logo = (partial "functions/get_logo" (dict "constraint" "max_height" "size" 70)) }}
{{ $logo = (partial "wowchemy-core/functions/get_logo" (dict "constraint" "max_height" "size" 70)) }}
{{ end }}
<header>
@@ -18,7 +18,7 @@
{{ $summary = $item.Summary }}
{{ end }}
{{ $resource := partial "functions/get_featured_image.html" $item }}
{{ $resource := partial "wowchemy-core/functions/get_featured_image.html" $item }}
<div class="card">
{{ with $resource }}