Skip to content

Commit

Permalink
Fix docs template
Browse files Browse the repository at this point in the history
  • Loading branch information
stariy95 committed Mar 21, 2024
1 parent 5b96c6a commit 15f89dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/bootique-theme/layouts/docs/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1>

<div class="row ">
<div id="docs-nav" class="col-12 col-lg-4 col-xl-3 nav docs-nav">
{{- $tocFile := printf "content/%s/%s.toc.html" (path.Dir .File) .File.BaseFileName -}}
{{- $tocFile := printf "/content/%s/%s.toc.html" (path.Dir .File.Path) .File.BaseFileName -}}
{{- if (fileExists $tocFile) -}}
{{ readFile $tocFile | safeHTML }}
{{- end -}}
Expand Down

0 comments on commit 15f89dc

Please sign in to comment.