- -
- - #if> -
-
+#list>
+<#if posts.getTotalPages() gt 0>
+
-
- ${post.title!}
-
+<@layout title="归档 - ${blog_title!}" canonical="${archives_url!}">
+<#list archives as archive>
+
- #list>
-@postTag>
+
+
+
+#if>
@layout>
diff --git a/categories.ftl b/categories.ftl
index e38f5c3..c18e422 100644
--- a/categories.ftl
+++ b/categories.ftl
@@ -1,5 +1,5 @@
<#include "layout/layout.ftl">
<#include "layout/common/article.ftl">
-<@layout title="分类 - ${options.blog_title!}" keywords="${options.seo_keywords!}" description="${options.seo_description!}" canonical="${context!}/categories">
+<@layout title="分类 - ${blog_title!}" canonical="${categories_url!}">
<#include "layout/categories.ftl">
@layout>
\ No newline at end of file
diff --git a/category.ftl b/category.ftl
index 928f184..9648553 100644
--- a/category.ftl
+++ b/category.ftl
@@ -1,5 +1,5 @@
<#include "layout/layout.ftl">
<#include "layout/common/article.ftl">
-<@layout title="分类:${category.name!} - ${options.blog_title!}" keywords="${options.seo_keywords!}" description="${options.seo_description!}" canonical="${context!}/categories/${category.slugName!}">
+<@layout title="分类:${category.name!} - ${blog_title!}" canonical="${category.fullPath!}">
<#include "layout/category.ftl">
@layout>
diff --git a/index.ftl b/index.ftl
index 9acc7b6..339c951 100644
--- a/index.ftl
+++ b/index.ftl
@@ -1,6 +1,6 @@
<#include "layout/layout.ftl">
<#include "layout/common/article.ftl">
-<@layout title="${options.blog_title!}" keywords="${options.seo_keywords!}" description="${options.seo_description!}" canonical="${context!}">
+<@layout title="${blog_title!}" canonical="${blog_url!}">
<#list posts.content as post>
<#if post.topPriority != 1>
<@article post,'index','null',true />
@@ -9,25 +9,23 @@
<#if posts.getTotalPages() gt 0>
<#include "layout/journals/journals.ftl"/>
diff --git a/layout/categories.ftl b/layout/categories.ftl
index 1479ff6..3c32ac3 100644
--- a/layout/categories.ftl
+++ b/layout/categories.ftl
@@ -8,7 +8,7 @@
<@categoryTag method="list">
<#list categories as category>
@@ -17,31 +17,23 @@
<#if posts.getTotalPages() gt 0>
#if>
diff --git a/layout/common/article.ftl b/layout/common/article.ftl
index 283904f..b3b560a 100644
--- a/layout/common/article.ftl
+++ b/layout/common/article.ftl
@@ -4,10 +4,10 @@
style="display: block"#if> >
<#if is_post?? || is_page?? || is_sheet??>
<#else >
- <#if post.thumbnail?? && post.thumbnail!=''>
+ <#if post.thumbnail?? && post.thumbnail!='' && (settings.post_thumbnail_enable?? && settings.post_thumbnail_enable)>
<#if index>
-
+
<#else>
@@ -28,7 +28,7 @@
<#if index>
- ${post.title!}
+ ${post.title!}
<#else>
${post.title!}
#if>
@@ -61,7 +61,7 @@
<#else>
@@ -149,14 +149,14 @@
#if>
#if>
- <#if !index && (nextPost?? || prePost??)>
+ <#if !index && (nextPost?? || prevPost??)>
<#list post.categories as category>
${category.name!}
+ href="${category.fullPath!}">${category.name!}
#list>
#if>
@@ -37,7 +37,7 @@
<#list categories as category>
${category.name!}
+ href="${category.fullPath!}">${category.name!}
#list>
#if>
@@ -53,7 +53,7 @@
<#if is_post??>
<#if index>
- ${post.title!}
+ ${post.title!}
<#else>
${post.title!}
#if>
@@ -61,7 +61,7 @@
<#else>
<#if index>
- ${post.title!}
+ ${post.title!}
<#else>
${post.title!}
#if>
@@ -82,7 +82,7 @@
#if>
@@ -101,7 +101,7 @@
#if>
@@ -109,7 +109,7 @@
<#if post.summary?? && post.summary!=''>
#if>
@@ -124,7 +124,7 @@
本文由 ${user.nickname!} 创作,如果您觉得本文不错,请随意赞赏
采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
- 原文链接:${context!}/archives/${post.url!}
+ 原文链接:${post.fullPath!}
最后更新:${post.editTime?string('yyyy-MM-dd HH:mm:ss')}
采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
- 原文链接:${context!}/archives/${post.url!}
+ 原文链接:${post.fullPath!}
最后更新:${post.editTime?string('yyyy-MM-dd HH:mm:ss')}