init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<meta charset="utf-8" >
|
||||
<title><%= siteTitle %></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.5">
|
||||
|
||||
<link rel="shortcut icon" href="<%= themeConfig.domain %>/favicon.ico?v=<%= site.utils.now %>">
|
||||
<link rel="stylesheet" href="<%= themeConfig.domain %>/media/css/highlight/xcode.min.css">
|
||||
<link rel="stylesheet" href="<%= themeConfig.domain %>/media/css/bootstrap/bootstrap-tooltips.css">
|
||||
|
||||
<% if (isHome) { %>
|
||||
<link rel="stylesheet" href="<%= themeConfig.domain %>/media/css/bootstrap/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="<%= themeConfig.domain %>/media/css/bootstrap/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" href="<%= themeConfig.domain %>/media/css/home.css?v=3">
|
||||
<% } else { %>
|
||||
<link rel="stylesheet" href="<%= themeConfig.domain %>/media/css/post.css?v=3">
|
||||
<% } %>
|
||||
|
||||
<script src="<%= themeConfig.domain %>/media/js/jquery.min.js" type="text/javascript"></script>
|
||||
<link rel="alternate" href="/atom.xml" title="<%= siteTitle %>" type="application/atom+xml">
|
||||
@@ -0,0 +1,17 @@
|
||||
<div class="pagination-container">
|
||||
<% if (pagination.prev) { %>
|
||||
<% if (pagination.prev.lastIndexOf('/') === pagination.prev.length-1) { %>
|
||||
<a href="<%= pagination.prev %>" class="prev"><i class="icon-arrow-ios-back-outline"></i> 上一页</a>
|
||||
<% } else { %>
|
||||
<a href="<%= pagination.prev %>/" class="prev"><i class="icon-arrow-ios-back-outline"></i> 上一页</a>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
<% if (pagination.next) { %>
|
||||
<% if (pagination.next.lastIndexOf('/') === pagination.next.length-1) { %>
|
||||
<a href="<%= pagination.next %>" class="next">下一页 <i class="icon-arrow-ios-forward-outline"></i></a>
|
||||
<% } else { %>
|
||||
<a href="<%= pagination.next %>/" class="next">下一页 <i class="icon-arrow-ios-forward-outline"></i></a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<script src="<%= themeConfig.domain %>/media/js/highlight.min.js" type="text/javascript"></script>
|
||||
<script src="<%= themeConfig.domain %>/media/js/main.js?v=3" type="text/javascript"></script>
|
||||
<script src="<%= themeConfig.domain %>/media/js/bootstrap/bootstrap.min.js" type="text/javascript"></script>
|
||||
Reference in New Issue
Block a user