🚀 refactor: code

This commit is contained in:
沈宇
2020-03-24 12:51:01 +08:00
parent 1003d95815
commit ebe1e25719
9 changed files with 54 additions and 64 deletions

View File

@@ -1,5 +1,4 @@
<%- js('/js/jquery-2.0.3.min') %>
<%- js('/js/share') %>
<%- js('/js/lazyload.min') %>
<% if (theme.subtitle.enable){ %>
<script>
@@ -46,7 +45,7 @@
<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>
<%- js('js/ayer') %>
<%- js('dist/main') %>
<% if (theme.image_viewer){ %>
<%- partial('viewer') %>

View File

@@ -23,7 +23,7 @@
<% if (theme.favicon){ %>
<link rel="shortcut icon" href="<%- theme.favicon %>" />
<% } %>
<%- css('css/main') %>
<%- css('dist/main') %>
<% if (theme.progressBar){ %>
<script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>
<% } %>