Closed oakland closed 4 years ago
_data.json: { "computer": { "productName":"computer", "briefIntro":"balabala..." } }
{ "computer": { "productName":"computer", "briefIntro":"balabala..." } }
When visiting product/computer.html, the productName variable in _data.json cannot be rendered only if you change the computer folder name into computerPics or some other names.
productName
computer
computerPics
_data.json:
{ "computer": { "productName":"computer", "briefIntro":"balabala..." } }
When visiting product/computer.html, the
productName
variable in _data.json cannot be rendered only if you change thecomputer
folder name intocomputerPics
or some other names.