add: CDN

This commit is contained in:
沈宇
2020-04-15 18:10:26 +08:00
parent e4218c40fa
commit 2e211f7609
7 changed files with 74 additions and 1858 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<% if (config.language){ %>
<html lang="<%= config.language %>" >
<html lang="<%= config.language %>">
<% } else { %>
<html lang="en">
<% }%>
@@ -29,9 +29,10 @@
<link rel="shortcut icon" href="<%- theme.favicon %>" />
<% } %>
<%- css('dist/main') %>
<%- css('https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/css/remixicon.min') %>
<%- css('css/custom') %>
<% if (theme.progressBar){ %>
<script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>
<%- js('https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min') %>
<% } %>
<%- partial('google-analytics') %>
<%- partial('baidu-analytics') %>