hugolib: Fix page sorting when weight is zero

Fixes #2673
This commit is contained in:
Bjørn Erik Pedersen
2016-11-06 15:38:52 +01:00
parent 52e2fd27f8
commit 4b4ab47553
4 changed files with 50 additions and 12 deletions

View File

@@ -87,9 +87,9 @@ const (
var menuPage1 = []byte(`+++
title = "One"
weight = 1
[menu]
[menu.p_one]
weight = 1
+++
Front Matter with Menu Pages`)