~artemis/cap

a27fa707d256c315794a2d7fd65a6335a522f2c3 — Artémis 8 months ago ae022ae v0.3.5
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{