i18n
xaoxuu 5 years ago
parent 74f1bdbd84
commit fe4954b24f
  1. 3
      layout/_widget/music.ejs
  2. 2
      layout/archive.ejs

@ -3,6 +3,9 @@ var needDisplay = true;
if (page.music && page.music.autoplay) {
needDisplay = false;
}
if (page.widget && page.widget.music == false) {
needDisplay = false;
}
%>
<% if (theme.services && theme.services.music == true && needDisplay == true) { %>

@ -24,7 +24,7 @@
<% } else if (post.date) { %>
<%= date(post.date, config.date_format) %>
<% } %>
<% if((post.music && post.music.autoplay) || (post.video)){ %>
<% if(post.music || post.video){ %>
&nbsp;<i class="music fas fa-headphones-alt" aria-hidden="true"></i>
<% } %>
</span>

Loading…
Cancel
Save