diff options
Diffstat (limited to 'context.go')
-rw-r--r-- | context.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,6 +20,7 @@ | |||
20 | package main | 20 | package main |
21 | 21 | ||
22 | import ( | 22 | import ( |
23 | "github.com/Pacien/fcmd" | ||
23 | "path" | 24 | "path" |
24 | "strings" | 25 | "strings" |
25 | ) | 26 | ) |
@@ -48,7 +49,7 @@ func (c context) Title() string { | |||
48 | } | 49 | } |
49 | 50 | ||
50 | func (c context) SubPages() (subPages []page) { | 51 | func (c context) SubPages() (subPages []page) { |
51 | dirs, _ := ls(c.path) | 52 | dirs, _ := fcmd.Ls(c.path) |
52 | for _, dir := range dirs { | 53 | for _, dir := range dirs { |
53 | var page page | 54 | var page page |
54 | page.Title = dir | 55 | page.Title = dir |