From 2753cd76ea3eb1fa660e46acabfcf957d7ba86ed Mon Sep 17 00:00:00 2001
From: curben <2809763-curben@users.noreply.gitlab.com>
Date: Mon, 26 Aug 2019 09:14:11 +0930
Subject: [PATCH] fix(addJs): must include .js extension
---
themes/typing/layout/_partial/after-footer.ejs | 2 +-
themes/typing/layout/_partial/head.ejs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/themes/typing/layout/_partial/after-footer.ejs b/themes/typing/layout/_partial/after-footer.ejs
index 64d8ae1..addb480 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') %>
+<%- addJs('js/typing.js') %>
diff --git a/themes/typing/layout/_partial/head.ejs b/themes/typing/layout/_partial/head.ejs
index 7b52eb6..ab21242 100644
--- a/themes/typing/layout/_partial/head.ejs
+++ b/themes/typing/layout/_partial/head.ejs
@@ -42,7 +42,7 @@
<%/* Fallback function for SRI */%>
- <%- js('js/sri.min') %>
+ <%- addJs('js/sri.min.js') %>
<%- addCss('css/typing.css') %>
<% if (theme.icons) { %>