Skip to content

Commit

Permalink
fix: new namespaced calls
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Nov 2, 2023
1 parent c80f023 commit 66b3868
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/wowchemy-bootstrap/data/wowchemy.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Wowchemy

version = "5.9.0"
version = "5.9.1"
6 changes: 3 additions & 3 deletions modules/wowchemy-bootstrap/layouts/partials/book_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
{{/* 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>
</ul>

{{ .TableOfContents }}

{{ partial "functions/get_hook" (dict "hook" "toc-end" "context" .) }}
{{ partial "wowchemy-core/functions/get_hook" (dict "hook" "toc-end" "context" .) }}
</div>
{{ end }}

Expand All @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 66b3868

Please # to comment.