aboutsummaryrefslogtreecommitdiff
path: root/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'context.go')
-rw-r--r--context.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/context.go b/context.go
index 8b41a52..aff6a5d 100644
--- a/context.go
+++ b/context.go
@@ -20,6 +20,7 @@
20package main 20package main
21 21
22import ( 22import (
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
50func (c context) SubPages() (subPages []page) { 51func (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