- #for(article : articles.rows)
+ #for(article : articles(12).rows)
- #call pageNav(articles,'←','→','page')
+ #call pageNav(articles(12),'←','→','page')
-#include('./footer.html')
\ No newline at end of file
+#include('./partial/footer.html')
\ No newline at end of file
diff --git a/src/main/resources/templates/themes/default/links.html b/src/main/resources/templates/themes/default/links.html
deleted file mode 100644
index 45260ca0..00000000
--- a/src/main/resources/templates/themes/default/links.html
+++ /dev/null
@@ -1,29 +0,0 @@
-#include('./header.html', {title: '友情链接'})
-
-
-
友情链接
-
-
链接须知
-
-
-
-
备注:默认申请友情链接均为内页(当前页面)
-
基本信息
-
- 网站名称:TaleBlog
- 网站地址:tale.biezhi.me
-
-
请在当页通过评论来申请友链,其他地方不予回复
-
暂时先这样,同时欢迎互换友链,这个页面留言即可。 ^_^
-
还有,我会不定时对无法访问的网址进行清理,请保证自己的链接长期有效。
-
-#include('./comments.html')
-#include('./footer.html')
\ No newline at end of file
diff --git a/src/main/resources/templates/themes/default/page-category.html b/src/main/resources/templates/themes/default/page-category.html
index 72009a4d..7b4f24a3 100644
--- a/src/main/resources/templates/themes/default/page-category.html
+++ b/src/main/resources/templates/themes/default/page-category.html
@@ -1,4 +1,4 @@
-#include('./header.html', {title: keyword })
+#include('./partial/header.html', {title: keyword })
-#include('./footer.html')
\ No newline at end of file
+#include('./partial/footer.html')
\ No newline at end of file
diff --git a/src/main/resources/templates/themes/default/page.html b/src/main/resources/templates/themes/default/page.html
index 757f890b..90221576 100644
--- a/src/main/resources/templates/themes/default/page.html
+++ b/src/main/resources/templates/themes/default/page.html
@@ -1,4 +1,4 @@
-#include('./header.html', {title: article.title })
+#include('./partial/header.html', {title: article.title })
${show_content()}
-#include('./comments.html')
-#include('./footer.html')
\ No newline at end of file
+#include('./partial/comments.html')
+#include('./partial/footer.html')
\ No newline at end of file
diff --git a/src/main/resources/templates/themes/default/comments.html b/src/main/resources/templates/themes/default/partial/comments.html
similarity index 100%
rename from src/main/resources/templates/themes/default/comments.html
rename to src/main/resources/templates/themes/default/partial/comments.html
diff --git a/src/main/resources/templates/themes/default/footer.html b/src/main/resources/templates/themes/default/partial/footer.html
similarity index 100%
rename from src/main/resources/templates/themes/default/footer.html
rename to src/main/resources/templates/themes/default/partial/footer.html
diff --git a/src/main/resources/templates/themes/default/header.html b/src/main/resources/templates/themes/default/partial/header.html
similarity index 100%
rename from src/main/resources/templates/themes/default/header.html
rename to src/main/resources/templates/themes/default/partial/header.html
diff --git a/src/main/resources/templates/themes/default/post.html b/src/main/resources/templates/themes/default/post.html
index 8c0d9715..319b85fb 100644
--- a/src/main/resources/templates/themes/default/post.html
+++ b/src/main/resources/templates/themes/default/post.html
@@ -1,4 +1,4 @@
-#include('./header.html',{title: article.title, keywords: article.tags})
+#include('./partial/header.html',{title: article.title, keywords: article.tags})
-#include('./comments.html')
-#include('./footer.html')
\ No newline at end of file
+#include('./partial/comments.html')
+#include('./partial/footer.html')
\ No newline at end of file