This commit is contained in:
dmxiaoshen
2023-04-20 14:23:12 +08:00
commit 103a72c20d
31 changed files with 1310 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<%- include('./_blocks/head', { isHome: false,siteTitle: `${tag.name} | ${themeConfig.siteName}` }) %>
<meta name="description" content="<%= themeConfig.siteDescription %>">
</head>
<body>
<script type="text/javascript">
if (/mobile/i.test(navigator.userAgent) || /android/i.test(navigator.userAgent)) {
document.body.classList.add('mobile')
}
</script>
<div>
<div class="inner">
<h2><%= tag.name %></h2>
<ul class="list-group">
<% posts.forEach(function(post) { %>
<li class="list-group-item title"><a href="<%= post.link %>" target="_self"><%= post.title %></a>
<div class="word-count2"><%= post.stats.words %>字</div>
<div class="date" style="color:darkgray;font-size:80%"><%= post.dateFormat %></div>
</li>
<% }); %>
</ul>
<h3>&nbsp;</h3>
<%- include('./_blocks/pagination') %>
<div style="text-align: right;">
↶ <a href="/tags/">标签云</a>
</div>
</div>
</div>
<%- include('./_blocks/scripts') %>
</body>
</html>