From 5a43c78e7bab27541897e1ef6e9a558560aa0edc Mon Sep 17 00:00:00 2001 From: nineya <361654768@qq.com> Date: Wed, 22 Mar 2023 17:14:07 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=A8=A1=E6=9D=BF=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/{404.ftl => 404.html} | 0 templates/{500.ftl => 500.html} | 0 templates/{archives.ftl => archives.html} | 0 templates/{categories.ftl => categories.html} | 0 templates/{category.ftl => category.html} | 0 templates/errorpage.ftl | 2 +- templates/index.html | 4 ++-- templates/{journals.ftl => journals.html} | 0 templates/{links.ftl => links.html} | 0 templates/main/{admire.ftl => admire.html} | 0 templates/main/{article.ftl => article.html} | 2 +- templates/main/{article_list.ftl => article_list.html} | 0 .../{article_literature.ftl => article_literature.html} | 6 +++--- templates/main/{comment.ftl => comment.html} | 0 templates/main/{copyright.ftl => copyright.html} | 0 templates/main/{pagination.ftl => pagination.html} | 0 templates/{photos.ftl => photos.html} | 0 templates/{post.ftl => post.html} | 0 templates/{post_literature.ftl => post_literature.html} | 0 templates/{search.ftl => search.html} | 0 templates/{sheet.ftl => sheet.html} | 0 templates/{sheet_literature.ftl => sheet_literature.html} | 0 templates/{tag.ftl => tag.html} | 0 templates/{tags.ftl => tags.html} | 0 24 files changed, 7 insertions(+), 7 deletions(-) rename templates/{404.ftl => 404.html} (100%) rename templates/{500.ftl => 500.html} (100%) rename templates/{archives.ftl => archives.html} (100%) rename templates/{categories.ftl => categories.html} (100%) rename templates/{category.ftl => category.html} (100%) rename templates/{journals.ftl => journals.html} (100%) rename templates/{links.ftl => links.html} (100%) rename templates/main/{admire.ftl => admire.html} (100%) rename templates/main/{article.ftl => article.html} (98%) rename templates/main/{article_list.ftl => article_list.html} (100%) rename templates/main/{article_literature.ftl => article_literature.html} (96%) rename templates/main/{comment.ftl => comment.html} (100%) rename templates/main/{copyright.ftl => copyright.html} (100%) rename templates/main/{pagination.ftl => pagination.html} (100%) rename templates/{photos.ftl => photos.html} (100%) rename templates/{post.ftl => post.html} (100%) rename templates/{post_literature.ftl => post_literature.html} (100%) rename templates/{search.ftl => search.html} (100%) rename templates/{sheet.ftl => sheet.html} (100%) rename templates/{sheet_literature.ftl => sheet_literature.html} (100%) rename templates/{tag.ftl => tag.html} (100%) rename templates/{tags.ftl => tags.html} (100%) 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