diff options
author | Robert Austin <rob@jugglerdigital.com> | 2020-06-03 02:56:14 +0300 |
---|---|---|
committer | Robert Austin <rob@jugglerdigital.com> | 2020-06-03 02:56:14 +0300 |
commit | 871c793863b7b38da901ed1ef5d32df1f402ba9e (patch) | |
tree | a016e480721bf84726af0c644ab68b8d72299469 | |
parent | 4ae9fd23bb2598c4e0e475891b5718783b5187b9 (diff) |
fix bug in sidebar
-rw-r--r-- | layouts/partials/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index f9812c7..dd1404d 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -2,7 +2,7 @@ <div class="docs-menu"> <h4>{{ .Section | humanize }}</h4> <ul> - {{ range (where .Site.RegularPages "Section" .Section) sort .Site.RegularPages ".Weight" }} + {{ range where .Site.RegularPages "Section" .Section }} <li class="{{ if eq .File.UniqueID $currentNode.File.UniqueID }}active {{ end }}"> <a href="{{ .Permalink }}">{{ .Title }}</a> </li> |