-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
273 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="icon" href="${favicon!''}" type="image/x-icon"> | ||
<link rel="shortcut icon" href="${favicon!''}" type="image/x-icon"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<title>文章归档 - ${title!''}</title> | ||
<link rel="stylesheet" href="${una}/${theme}/css/font-awesome.css"> | ||
<link rel="stylesheet" href="${una}/${theme}/css/ionicons.css"> | ||
<link rel="stylesheet" href="${una}/${theme}/css/adminlte.css"> | ||
<link rel="stylesheet" href="${una}/${theme}/css/unaboot.css"> | ||
</head> | ||
<body> | ||
<div class="sidebar animated fadeInDown"> | ||
<#include "./left.html"/> | ||
</div> | ||
<div class="main"> | ||
<div class="page-top animated fadeInDown"> | ||
<#include "./nav.html"/> | ||
</div> | ||
<div class="autopagerize_page_element"> | ||
<div class="content"> | ||
<div class="archive animated fadeInDown"> | ||
<h3 class="m-4">归档</h3> | ||
<ul class="list-with-title"> | ||
<@unaboot.archives> | ||
<#if results?? && results?size gt 0> | ||
<#list results as archive> | ||
<div class="listing-title">${archive.name}</div> | ||
<ul class="listing" style="padding-left:25px;"> | ||
<@unaboot.posts type=0 name=archive.name> | ||
<#if results?? && results?size gt 0> | ||
<#list results as post> | ||
<div class="listing-item"> | ||
<div class="listing-post"> | ||
<a href="${una}/posts/${post.slug}" title="${post.title}">${post.title}</a> | ||
<div class="post-time"> | ||
<span class="date">${post.createTime?string("yyyy-MM-dd")}</span> | ||
</div> | ||
</div> | ||
</div> | ||
</#list> | ||
</#if> | ||
</@unaboot.posts> | ||
</ul> | ||
</#list> | ||
</#if> | ||
</@unaboot.archives> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script src="${una}/${theme}/js/jquery/jquery.min.js"></script> | ||
<script src="${una}/${theme}/js/bootstrap/js/bootstrap.bundle.min.js"></script> | ||
<script src="${una}/${theme}/js/adminlte.min.js"></script> | ||
<script type="text/javascript"> | ||
|
||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<div class="nav"> | ||
<@u_navigation> | ||
<@unaboot.navMenus> | ||
<#if results?? && results?size gt 0> | ||
<#list results as nav> | ||
<li> | ||
<a href="${una}/category/${nav.slug}">${nav.name}</a> | ||
</li> | ||
</#list> | ||
</#if> | ||
</@u_navigation> | ||
</@unaboot.navMenus> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.