We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df39f6 commit e433cf7Copy full SHA for e433cf7
layout/_partial/scripts/index.ejs
@@ -57,7 +57,18 @@
57
<% } %>
58
59
<% if (theme.plugins.aplayer && theme.plugins.aplayer.enable) { %>
60
- <%- partial('../../_plugins/aplayer/script') %>
+ <% if (!is_post() && !is_page()) { %>
61
+ <%- partial('../../_plugins/aplayer/script') %>
62
+ <%- partial('../../_plugins/aplayer/layout', { post: page }) %>
63
+ <% } %>
64
+ <% if (is_post() || is_page()) { %>
65
+ <% if (!page.music) { %>
66
67
68
+ <% } else { %>
69
70
71
72
73
74
<%
0 commit comments