We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a89f1f3 commit 7f313b7Copy full SHA for 7f313b7
scripts/fetch-modules.js
@@ -9,7 +9,6 @@ const modules = request(modulesUrl);
9
10
hexo.extend.filter.register('before_post_render', function(data){
11
return modules.then((json) => {
12
- console.error('---->', json);
13
data.markdown = JSON.parse(json);
14
})
15
});
source/modules/index.hbs
@@ -1,5 +1,8 @@
1
<h1>Modules</h1>
2
3
+{{log this}}
4
+{{log tenpin}}
5
+
6
{{#each tenpin as |item|}}
7
<p>{{item.name}}</p><hr>
8
{{/each}}
0 commit comments