Maybe, it's a good idea to check if the asset is actually a template. Otherwise, non template files with the same extension as the templates gets compiled, too. It should be enough to check if the asset is part of the templates directory. Something like that:

```go
if strings.HasPrefix(path, dir) {
    load(options, dir, path, t, options.Asset)
}
```