(themeFolder string)
| 446 | } |
| 447 | |
| 448 | func getAssetsPath(themeFolder string) string { |
| 449 | dir := filepath.Join(themeFolder, "assets") |
| 450 | |
| 451 | if _, err := os.Stat(dir); err != nil { |
| 452 | return "" |
| 453 | } |
| 454 | |
| 455 | return dir |
| 456 | } |
| 457 | |
| 458 | func insertSidebarConfig(jsPath string, flags Flag) { |
| 459 | if !flags.SidebarConfig { |