mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 00:14:05 +00:00
fix: new namespaced calls
See https://discord.com/channels/722225264733716590/1169641769152036934/1169641769152036934
This commit is contained in:
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 }}
|
||||
|
||||
Reference in new issue
Block a user