Example #1
0
File: detect.go Project: heyLu/qst
func jekyll(file string) bool {
	return hasFile(file, "_config.yml") || fileutil.IsDir(fileutil.Join(file, "_posts"))
}
Example #2
0
File: detect.go Project: heyLu/qst
func hasFile(fileOrDir string, file string) bool {
	return fileutil.IsFile(fileutil.Join(fileOrDir, file))
}