Example #1
0
File: site.go Project: johnsto/hugo
func (s *Site) PrettifyPath(in string) string {
	return helpers.PathPrep(viper.GetBool("UglyUrls"), in)
}
Example #2
0
File: site.go Project: GuoJing/hugo
func (s *Site) PrettifyPath(in string) string {
	return helpers.PathPrep(s.Config.UglyUrls, in)
}