<#include "module/page-top.ftl">
@@ -16,17 +12,17 @@
<#if posts.hasPrevious()>
<#if posts.number == 1>
- 上一页
+ 上一页
<#else >
- 上一页
+ 上一页
#if>
#if>
<#if posts.hasNext()>
- 下一页
+ 下一页
#if>
diff --git a/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl b/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl
index 9b53f51dd..6003bd158 100644
--- a/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl
+++ b/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl
@@ -33,7 +33,7 @@
<#if post.categories??>
<#list post.categories as cate>
- ${cate.cateName}
+ ${cate.cateName}
#list>
#if>
diff --git a/src/main/resources/templates/themes/material/_widget/page-tagcloud.ftl b/src/main/resources/templates/themes/material/_widget/page-tagcloud.ftl
index a4a64f0a6..21921c09c 100644
--- a/src/main/resources/templates/themes/material/_widget/page-tagcloud.ftl
+++ b/src/main/resources/templates/themes/material/_widget/page-tagcloud.ftl
@@ -29,11 +29,13 @@
diff --git a/src/main/resources/templates/themes/material/category.ftl b/src/main/resources/templates/themes/material/category.ftl
index 8eb673ac5..f6aa6d183 100644
--- a/src/main/resources/templates/themes/material/category.ftl
+++ b/src/main/resources/templates/themes/material/category.ftl
@@ -14,7 +14,7 @@
<#include "_partial/Isolation-post_entry.ftl">
#if>
<#include "_partial/index-nav.ftl">
- <@nav url="/">@nav>
+ <@nav url="/categories/${category.cateUrl}/">@nav>
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<#include "_partial/Paradox-post_entry-thumbnail.ftl">
#if>
diff --git a/src/main/resources/templates/themes/material/screenshot.png b/src/main/resources/templates/themes/material/screenshot.png
old mode 100755
new mode 100644
index 671f92b60..8f7a48f2d
Binary files a/src/main/resources/templates/themes/material/screenshot.png and b/src/main/resources/templates/themes/material/screenshot.png differ
diff --git a/src/main/resources/templates/themes/material/tag.ftl b/src/main/resources/templates/themes/material/tag.ftl
index a6d23f3b8..02274c4b1 100644
--- a/src/main/resources/templates/themes/material/tag.ftl
+++ b/src/main/resources/templates/themes/material/tag.ftl
@@ -14,7 +14,7 @@
<#include "_partial/Isolation-post_entry.ftl">
#if>
<#include "_partial/index-nav.ftl">
- <@nav url="/">@nav>
+ <@nav url="/tags/${tag.tagUrl}/">@nav>
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<#include "_partial/Paradox-post_entry-thumbnail.ftl">
#if>
diff --git a/src/test/java/cc/ryanc/halo/util/DemoUtilTest.java b/src/test/java/cc/ryanc/halo/utils/DemoUtilTest.java
similarity index 69%
rename from src/test/java/cc/ryanc/halo/util/DemoUtilTest.java
rename to src/test/java/cc/ryanc/halo/utils/DemoUtilTest.java
index d8555b506..e531daac3 100644
--- a/src/test/java/cc/ryanc/halo/util/DemoUtilTest.java
+++ b/src/test/java/cc/ryanc/halo/utils/DemoUtilTest.java
@@ -1,4 +1,4 @@
-package cc.ryanc.halo.util;
+package cc.ryanc.halo.utils;
import org.junit.Test;
@@ -12,6 +12,6 @@ public class DemoUtilTest {
@Test
public void testZip(){
- HaloUtil.unZip("/Users/ryan0up/Desktop/adminlog.html.zip","/Users/ryan0up/Desktop/");
+ ZipUtils.unZip("/Users/ryan0up/Desktop/adminlog.html.zip","/Users/ryan0up/Desktop/");
}
}
\ No newline at end of file