Closed codecoron closed 11 months ago
custom.js
theme/index.hbs
theme/style.css
Array
index.hbs
看的不是很明白,custom.js 的代码应该挺清晰的,里面有哪个地方的数据获取方式有问题吗?
你好,是不清楚custom.js中Array的数据是怎么获取的。比如Array是如何拿到每个md文档的标题
核心代码在这: https://github.com/sunface/rust-course/blob/7e45cdea50de6ae17d1a2acd33aea3c6afcf0711/assets/custom.js#L49-L73
@sunface 这个 Issues 可以关闭了
好的
custom.js
和theme/index.hbs
theme/style.css
,custom.js
中会从Array
中获取每个md文件的标题,然后处理数据,最后送到index.hbs
渲染出来custom.js
中的数据是怎么获取的?