func NewTagMap(pageSet []*Page) *TagMap {
	tm := &TagMap{
		Tags: make(map[string][]*Tag),
	}
	tm.BuildFromPages(pageSet)
	return tm
}
NewTagMap creates and returns an instance of TagMap
package pages
import (
	"sort"
)
type TagMap struct {
	Tags map[string][]*Tag
}