diff options
| author | Shulhan <ms@kilabit.info> | 2021-01-10 03:19:32 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-01-10 03:19:32 +0700 |
| commit | 2403a6145d1b2efd1ceefd59901fca1b2bbd80a8 (patch) | |
| tree | 63deb6fbba4156d56adbaa2045cfa9eecb55f4e9 /ciigo.go | |
| parent | c23bd42ef521b1370322d2bbc76a0e6441291201 (diff) | |
| download | ciigo-2403a6145d1b2efd1ceefd59901fca1b2bbd80a8.tar.xz | |
ciigo: remove statement that ignore "assets" file
Diffstat (limited to 'ciigo.go')
| -rw-r--r-- | ciigo.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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)...) |
