hexo-theme-ayer/layout/_partial/ads.ejs
2020-12-31 16:10:38 +08:00

9 lines
278 B
JavaScript

<ul class="ads">
<% for (var i in theme.ads){ %>
<li>
<a href="<%= theme.ads[i].url %>">
<img src="<%= theme.ads[i].img %>" width="<%= theme.ads[i].width %>" alt="<%=theme.ads[i].title %>">
</a>
</li>
<% } %>
</ul>