🐛 fix: albums display

This commit is contained in:
shenyu
2020-03-15 19:04:20 +08:00
parent 8eadb41a90
commit 68b1022367
5 changed files with 8 additions and 17 deletions

View File

@@ -48,7 +48,7 @@
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>
<%- js('js/ayer') %>
<% if (theme.image_viewer){ %>
<% if (theme.image_viewer && is_post()){ %>
<%- partial('viewer') %>
<% } %>
<% if (theme.mathjax){ %>
@@ -64,8 +64,3 @@
<% } %>
<script type="text/javascript" src="https://js.users.51.la/20544303.js"></script>
<% if (theme.fancybox){ %>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.2/dist/jquery.fancybox.min.css">
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.2/dist/jquery.fancybox.min.js"></script>
<% } %>