第三次作业题目和答案(未公布)

This commit is contained in:
Zhao Zuohong 2020-10-30 13:59:49 +08:00
commit b01ba87404
102 changed files with 8693 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<% if (site.posts.length){ %>
<div class="widget-wrap">
<h3 class="widget-title"><%= __('recent_posts') %></h3>
<div class="widget">
<ul>
<% site.posts.sort('date', -1).limit(5).each(function(post){ %>
<li>
<a href="<%- url_for(post.path) %>"><%= post.title || '(no title)' %></a>
</li>
<% }) %>
</ul>
</div>
</div>
<% } %>