Permalink
Please sign in to comment.
Showing
with
119 additions
and 108 deletions.
- +8 −9 app.js
- +1 −1 create_structure.js
- +13 −0 css/gatsby.css
- +11 −8 html.jsx → html.js
- +6 −6 package.json
- +1 −6 templates/_template.jsx
- +77 −76 templates/lang/_template.jsx
- +1 −1 wiki-gh-pages
- +1 −1 wiki-master
17
app.js
@@ -1,11 +1,10 @@ | ||
-exports.loadContext = function(callback) { | ||
- var context; | ||
- context = require.context('./pages', true); | ||
+exports.loadContext = function (callback) { | ||
+ let context = require.context('./pages', true) | ||
if (module.hot) { | ||
- module.hot.accept(context.id, function() { | ||
- context = require.context('./pages', true); | ||
- return callback(context); | ||
- }); | ||
+ module.hot.accept(context.id, () => { | ||
+ context = require.context('./pages', true) | ||
+ return callback(context) | ||
+ }) | ||
} | ||
- return callback(context); | ||
-}; | ||
+ return callback(context) | ||
+} |
2
create_structure.js
13
css/gatsby.css
19
html.jsx → html.js
12
package.json
7
templates/_template.jsx
100755 → 100644
153
templates/lang/_template.jsx
2
wiki-gh-pages
@@ -1 +1 @@ | ||
-Subproject commit 643a5290285115f57c660e4c9bd9b179f8aa8708 | ||
+Subproject commit 59ffce39c4afef64e5fb1807e0e6d496c5811811 |
2
wiki-master
@@ -1 +1 @@ | ||
-Subproject commit b756eb51fd4e120ba0ed66a5503d373d37bad262 | ||
+Subproject commit d59e6241711dffa93f88bc28b2ee5a1aa3309ab0 |
0 comments on commit
73935ba