j2static does not correctly load json files from subdirectories
j2static generate doesn't handle data directories in the same way as serve.
-
j2static serve
checks the relative path for the data file, eg._template/guide/index.html
->_data/guide/index.json
-
j2static generate
checks file name for the data file, eg._template/guide/index.html
->_data/index.json
This is a bug, j2static serve has the correct behaviour.