aboutsummaryrefslogtreecommitdiff
path: root/ciigo.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-01-10 03:19:32 +0700
committerShulhan <ms@kilabit.info>2021-01-10 03:19:32 +0700
commit2403a6145d1b2efd1ceefd59901fca1b2bbd80a8 (patch)
tree63deb6fbba4156d56adbaa2045cfa9eecb55f4e9 /ciigo.go
parentc23bd42ef521b1370322d2bbc76a0e6441291201 (diff)
downloadciigo-2403a6145d1b2efd1ceefd59901fca1b2bbd80a8.tar.xz
ciigo: remove statement that ignore "assets" file
Diffstat (limited to 'ciigo.go')
-rw-r--r--ciigo.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/ciigo.go b/ciigo.go
index 775f188..00e3b8e 100644
--- a/ciigo.go
+++ b/ciigo.go
@@ -24,7 +24,6 @@ import (
const (
defAddress = ":8080"
defDir = "."
- dirAssets = "assets"
extAsciidoc = ".adoc"
internalTemplatePath = "_internal/.template"
)
@@ -166,9 +165,6 @@ func listFileMarkups(dir string) (fileMarkups []*fileMarkup) {
for _, fi := range fis {
name := fi.Name()
- if name == dirAssets {
- continue
- }
if fi.IsDir() && name[0] != '.' {
newdir := filepath.Join(dir, fi.Name())
fileMarkups = append(fileMarkups, listFileMarkups(newdir)...)