fix(addJs): must include .js extension

This commit is contained in:
curben 2019-08-26 09:14:11 +09:30
parent b4ff248560
commit 2753cd76ea
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
2 changed files with 2 additions and 2 deletions

View File

@ -3,4 +3,4 @@
<% } %> <% } %>
<%/* javascript of Typing theme */%> <%/* javascript of Typing theme */%>
<%- addJs('js/typing') %> <%- addJs('js/typing.js') %>

View File

@ -42,7 +42,7 @@
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml"> <link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
<%/* Fallback function for SRI */%> <%/* Fallback function for SRI */%>
<%- js('js/sri.min') %> <%- addJs('js/sri.min.js') %>
<%- addCss('css/typing.css') %> <%- addCss('css/typing.css') %>
<% if (theme.icons) { %> <% if (theme.icons) { %>