parent
34e0db3d75
commit
cdd834d513
14 changed files with 124 additions and 106 deletions
@ -1,3 +1,3 @@ |
|||||||
<div id="loading-bar-wrapper"> |
<div id="loading-bar-wrapper"> |
||||||
<div id="loading-bar" class="<%= config.style %>"></div> |
<div id="loading-bar" class="<%= theme.style %>"></div> |
||||||
</div> |
</div> |
||||||
|
@ -1,20 +1,20 @@ |
|||||||
<% if (config.widgets){ %> |
<% if (theme.widgets){ %> |
||||||
<% if (config.widgets.author){ %> |
<% if (theme.widgets.author.enable){ %> |
||||||
<%- partial('../_widget/author') %> |
<%- partial('../_widget/author') %> |
||||||
<% } %> |
<% } %> |
||||||
<% if (config.widgets.categories){ %> |
<% if (theme.widgets.categories.enable){ %> |
||||||
<%- partial('../_widget/categories') %> |
<%- partial('../_widget/categories') %> |
||||||
<% } %> |
<% } %> |
||||||
<% if (config.widgets.tagcloud){ %> |
<% if (theme.widgets.tagcloud.enable){ %> |
||||||
<%- partial('../_widget/tagcloud') %> |
<%- partial('../_widget/tagcloud') %> |
||||||
<% } %> |
<% } %> |
||||||
<% if (config.widgets.toc){ %> |
<% if (theme.widgets.toc.enable){ %> |
||||||
<%- partial('../_widget/toc') %> |
<%- partial('../_widget/toc') %> |
||||||
<% } %> |
<% } %> |
||||||
<% if (config.widgets.musicid){ %> |
<% if (theme.widgets.music.enable){ %> |
||||||
<%- partial('../_widget/music') %> |
<%- partial('../_widget/music') %> |
||||||
<% } %> |
<% } %> |
||||||
<% if (config.widgets.links){ %> |
<% if (theme.widgets.links.enable){ %> |
||||||
<%- partial('../_widget/links') %> |
<%- partial('../_widget/links') %> |
||||||
<% } %> |
<% } %> |
||||||
<% } %> |
<% } %> |
||||||
|
@ -1,9 +1,9 @@ |
|||||||
<section class='m_widget music'> |
<section class='m_widget music'> |
||||||
<header class='header <%= config.style %>'> |
<header class='header <%= theme.style %>'> |
||||||
<div><i class="fas fa-headphones-alt fa-fw" aria-hidden="true"></i> 音乐</div> |
<div><i class="<%= theme.widgets.music.icon %> fa-fw" aria-hidden="true"></i> <%= theme.widgets.music.title %></div> |
||||||
<a class="rightBtn" title="打开博主的网易云音乐主页" target="_blank" rel="external nofollow noopener noreferrer" href="https://music.163.com/#/playlist?id=<%= config.widgets.musicid %>"><i class="fas fa-external-link-square-alt fa-fw"></i></a> |
<a class="rightBtn" title="打开博主的网易云音乐主页" target="_blank" rel="external nofollow noopener noreferrer" href="https://music.163.com/#/playlist?id=<%= theme.widgets.music.playlist_id %>"><i class="fas fa-external-link-square-alt fa-fw"></i></a> |
||||||
</header> |
</header> |
||||||
<div class='content <%= config.style %>'> |
<div class='content <%= theme.style %>'> |
||||||
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=100% height=450 src="//music.163.com/outchain/player?type=0&id=<%= config.widgets.musicid %>&auto=0&height=450"></iframe> |
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=100% height=450 src="//music.163.com/outchain/player?type=0&id=<%= theme.widgets.music.playlist_id %>&auto=0&height=450"></iframe> |
||||||
</div> |
</div> |
||||||
</section> |
</section> |
||||||
|
Loading…
Reference in new issue