mirror of https://gitlab.com/curben/blog
fix(addJs): valid path
This commit is contained in:
parent
65d463bc9d
commit
d4af69e1dc
|
@ -3,4 +3,4 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<%/* javascript of Typing theme */%>
|
<%/* javascript of Typing theme */%>
|
||||||
<%- addJs('js/typing.js') %>
|
<%- addJs('/js/typing.js') %>
|
||||||
|
|
|
@ -43,12 +43,12 @@
|
||||||
<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 */%>
|
||||||
<%- addJs('js/sri.min.js') %>
|
<%- addJs('/js/sri.min.js') %>
|
||||||
|
|
||||||
<%/* Polyfill for <img loading="lazy"> */%>
|
<%/* Polyfill for <img loading="lazy"> */%>
|
||||||
<%- addJs('/js/loading-attribute-polyfill.min.js') %>
|
<%- addJs('/js/loading-attribute-polyfill.min.js') %>
|
||||||
|
|
||||||
<%- addCss('css/typing.css') %>
|
<%- addCss('/css/typing.css') %>
|
||||||
|
|
||||||
<% if (theme.icons) { %>
|
<% 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' }) %>
|
<%- 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' }) %>
|
||||||
|
|
Loading…
Reference in New Issue