Permalink
Browse files

fix: subdirectory support

Load main.js correctly If the site is in a subdirectory
  • Loading branch information...
MOxFIVE committed Apr 1, 2016
1 parent 784f3e2 commit 3b90b3adb0471a1297a70f4cda86202dc29f9a2e
Showing with 1 addition and 1 deletion.
  1. +1 −1 layout/_partial/after-footer.ejs
@@ -1,7 +1,7 @@
<% if (theme.github_widget){ %>
<%- js('js/GithubRepoWidget') %>
<% } %>
<script data-main="/js/main.js" src="//cdn.bootcss.com/require.js/2.1.22/require.min.js"></script>
<script data-main="<%-config.root%>js/main.js" src="//cdn.bootcss.com/require.js/2.1.22/require.min.js"></script>
<%- partial('_partial/background') %>
<%- partial('google-analytics') %>
<% if (theme.mathjax){ %>

0 comments on commit 3b90b3a

Please sign in to comment.