diff options
author | tummychow <tummychow@users.noreply.github.com> | 2014-03-15 00:37:55 +0400 |
---|---|---|
committer | tummychow <tummychow@users.noreply.github.com> | 2014-03-15 00:40:48 +0400 |
commit | 5a57507ff99294831d7ca6985e21cc45e8decf83 (patch) | |
tree | 11431583ca7642b37d5423cbc09ff9d33f7b5a83 /layouts | |
parent | 77c1f34cea8bbb15da8a17113c2ffdb4e62ddd0a (diff) |
Add sidebar ordering
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/chrome/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/chrome/sidebar.html b/layouts/chrome/sidebar.html index 855a9b4..831e587 100644 --- a/layouts/chrome/sidebar.html +++ b/layouts/chrome/sidebar.html @@ -12,7 +12,7 @@ <a class="sidebar-nav-item {{ if eq .Url "/" }} active {{ end }}" href="/">Home</a> {{ $thisperma := .Permalink }} - {{ range .Site.Recent }} + {{ range .Site.Recent.ByWeight }} {{ if isset .Params "sidebar" }} <a class="sidebar-nav-item {{ if eq .Permalink $thisperma }} active {{ end }}" href="{{ .Permalink }}">{{ .Title }}</a> {{ end }} |