diff --git a/layouts/shortcodes/toc-tree.html b/layouts/shortcodes/toc-tree.html index 7685216..4c81b5b 100644 --- a/layouts/shortcodes/toc-tree.html +++ b/layouts/shortcodes/toc-tree.html @@ -4,7 +4,7 @@ {{- if $tocLevels }}
- {{ template "toc-tree" dict "sect" .Page.Pages "current" $current "sort" $sortBy }} + {{ template "toc-tree" dict "sect" .Page.Pages "current" $current "sortBy" $sortBy }}
{{- end }} @@ -12,33 +12,32 @@ {{- define "toc-tree" }}