init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<%- include('./_blocks/head', { isHome: false,siteTitle: themeConfig.siteName }) %>
|
||||
</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><%= post.title %></h2>
|
||||
<%- post.content %>
|
||||
<h3> </h3>
|
||||
<% post.tags.forEach((tag) => { %>
|
||||
<a href="<%= tag.link %>">#<%= tag.name %></a>
|
||||
<% }); %>
|
||||
<div style="text-align: right;">
|
||||
↶ <a href="/">返回首页</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('./_blocks/scripts') %>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user