From d4af69e1dcfd49e3e1aa0ebc83772017852f073f Mon Sep 17 00:00:00 2001
From: curben <2809763-curben@users.noreply.gitlab.com>
Date: Mon, 26 Aug 2019 09:27:38 +0930
Subject: [PATCH] fix(addJs): valid path
---
themes/typing/layout/_partial/after-footer.ejs | 2 +-
themes/typing/layout/_partial/head.ejs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/themes/typing/layout/_partial/after-footer.ejs b/themes/typing/layout/_partial/after-footer.ejs
index addb480..b36c3e4 100644
--- a/themes/typing/layout/_partial/after-footer.ejs
+++ b/themes/typing/layout/_partial/after-footer.ejs
@@ -3,4 +3,4 @@
<% } %>
<%/* javascript of Typing theme */%>
-<%- addJs('js/typing.js') %>
+<%- addJs('/js/typing.js') %>
diff --git a/themes/typing/layout/_partial/head.ejs b/themes/typing/layout/_partial/head.ejs
index 7805d8c..b450736 100644
--- a/themes/typing/layout/_partial/head.ejs
+++ b/themes/typing/layout/_partial/head.ejs
@@ -43,12 +43,12 @@
<%/* Fallback function for SRI */%>
- <%- addJs('js/sri.min.js') %>
+ <%- addJs('/js/sri.min.js') %>
<%/* Polyfill for */%>
<%- addJs('/js/loading-attribute-polyfill.min.js') %>
- <%- addCss('css/typing.css') %>
+ <%- addCss('/css/typing.css') %>
<% if (theme.icons) { %>
<%- addCss({ href: 'https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.7/css/fork-awesome.min.css', 'data-sri-fallback': '/forkawesome/css/fork-awesome.min.css', integrity: 'sha384-mByhW6NjnxyShh67P9+fepUvYSd7Uz/qV6e2u4kA2Fi4ZkjXxIP2mRkyK9dwK24W', crossorigin: 'anonymous' }) %>