diff --git a/layout/_partial/meta.ejs b/layout/_partial/meta.ejs index ac5c9d5..71cff64 100644 --- a/layout/_partial/meta.ejs +++ b/layout/_partial/meta.ejs @@ -8,7 +8,7 @@ <%- partial('../_third-party/aplayer', {aplayer_theme: '', aplayer_mini: true, aplayer_mode: 'circulation', aplayer_server: post.music.server, aplayer_type: post.music.type, aplayer_id: post.music.id, - aplayer_volume: '0.7', aplayer_autoplay: false }) %> + aplayer_volume: post.music.volume?post.music.volume:'0.7', aplayer_autoplay: post.music.autoplay?true:false }) %> <% } %> <% if(post.thumbnail && post.thumbnail.length){ %>