func PageCanonical(p *post.Post) string { return "/" + p.Slug() }
func tokensFor(p *post.Post) nltk.TokenChan { bits := []string{p.Title, p.Description, p.Clean()} bits = append(bits, p.Tags...) return tokens(bits...) }
func PostCanonical(p *post.Post) string { return fmt.Sprintf("/%s/%s", p.PublishedOn.Format("2006/01/02"), p.Slug()) }