diff --git a/templates/404.ftl b/templates/404.html similarity index 100% rename from templates/404.ftl rename to templates/404.html diff --git a/templates/500.ftl b/templates/500.html similarity index 100% rename from templates/500.ftl rename to templates/500.html diff --git a/templates/archives.ftl b/templates/archives.html similarity index 100% rename from templates/archives.ftl rename to templates/archives.html diff --git a/templates/categories.ftl b/templates/categories.html similarity index 100% rename from templates/categories.ftl rename to templates/categories.html diff --git a/templates/category.ftl b/templates/category.html similarity index 100% rename from templates/category.ftl rename to templates/category.html diff --git a/templates/errorpage.ftl b/templates/errorpage.ftl index 67332f6..b1d5a5a 100644 --- a/templates/errorpage.ftl +++ b/templates/errorpage.ftl @@ -1,5 +1,5 @@ <#include "layout.ftl"> -<#include "main/article_list.ftl"> +<#include "templates/main/article_list.html"> <#global is_error = true> <#macro errorpage etitle,desc,status,content,message> <@layout title="${status!}错误 - ${blog_title!}" canonical="${blog_url!}/${status!}"> diff --git a/templates/index.html b/templates/index.html index e8858f2..35d3995 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,9 +9,9 @@ - + - + diff --git a/templates/journals.ftl b/templates/journals.html similarity index 100% rename from templates/journals.ftl rename to templates/journals.html diff --git a/templates/links.ftl b/templates/links.html similarity index 100% rename from templates/links.ftl rename to templates/links.html diff --git a/templates/main/admire.ftl b/templates/main/admire.html similarity index 100% rename from templates/main/admire.ftl rename to templates/main/admire.html diff --git a/templates/main/article.ftl b/templates/main/article.html similarity index 98% rename from templates/main/article.ftl rename to templates/main/article.html index 7fb1818..12a77ca 100644 --- a/templates/main/article.ftl +++ b/templates/main/article.html @@ -53,7 +53,7 @@
${post.formatContent!}
- <#include "admire.ftl"> + <#include "templates/main/admire.html"> <#if tags?? && (tags?size gt 0)>
diff --git a/templates/main/article_list.ftl b/templates/main/article_list.html similarity index 100% rename from templates/main/article_list.ftl rename to templates/main/article_list.html diff --git a/templates/main/article_literature.ftl b/templates/main/article_literature.html similarity index 96% rename from templates/main/article_literature.ftl rename to templates/main/article_literature.html index 694fa4b..5d00865 100644 --- a/templates/main/article_literature.ftl +++ b/templates/main/article_literature.html @@ -53,7 +53,7 @@
${post.formatContent!}
- <#include "admire.ftl"> + <#include "templates/main/admire.html"> <#if tags?? && (tags?size gt 0)>
@@ -68,7 +68,7 @@ <#if enable_copyright == 'true' || enable_share>
<#if enable_copyright == 'true'> - <#include "copyright.ftl"> + <#include "templates/main/copyright.html"> <#if enable_share>
@@ -98,7 +98,7 @@ <#if (!post.disallowComment!false) && settings.enable_comment!true>

评论

- <#include "comment.ftl"> + <#include "templates/main/comment.html"> <@comment post.id?c, commentType />
diff --git a/templates/main/comment.ftl b/templates/main/comment.html similarity index 100% rename from templates/main/comment.ftl rename to templates/main/comment.html diff --git a/templates/main/copyright.ftl b/templates/main/copyright.html similarity index 100% rename from templates/main/copyright.ftl rename to templates/main/copyright.html diff --git a/templates/main/pagination.ftl b/templates/main/pagination.html similarity index 100% rename from templates/main/pagination.ftl rename to templates/main/pagination.html diff --git a/templates/photos.ftl b/templates/photos.html similarity index 100% rename from templates/photos.ftl rename to templates/photos.html diff --git a/templates/post.ftl b/templates/post.html similarity index 100% rename from templates/post.ftl rename to templates/post.html diff --git a/templates/post_literature.ftl b/templates/post_literature.html similarity index 100% rename from templates/post_literature.ftl rename to templates/post_literature.html diff --git a/templates/search.ftl b/templates/search.html similarity index 100% rename from templates/search.ftl rename to templates/search.html diff --git a/templates/sheet.ftl b/templates/sheet.html similarity index 100% rename from templates/sheet.ftl rename to templates/sheet.html diff --git a/templates/sheet_literature.ftl b/templates/sheet_literature.html similarity index 100% rename from templates/sheet_literature.ftl rename to templates/sheet_literature.html diff --git a/templates/tag.ftl b/templates/tag.html similarity index 100% rename from templates/tag.ftl rename to templates/tag.html diff --git a/templates/tags.ftl b/templates/tags.html similarity index 100% rename from templates/tags.ftl rename to templates/tags.html