sorting CWs
1 files changed, 2 insertions(+), 0 deletions(-) M loader.go
M loader.go => loader.go +2 -0
@@ 7,6 7,7 @@ import ( "net/url" "os" "path/filepath" "sort" "strings" "text/template" @@ 289,6 290,7 @@ func LoadPage(idx *domain.Index, s *domain.Section, path string) (*domain.Page, // 2. Required metadata building format := Formats[filepath.Ext(base)] sort.Strings(matter.CWs) // 3. Page building page := &domain.Page{