From 67c09855ad01bfa6f8d07ec2fa47d18e116bdfcb Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 24 May 2022 10:48:16 +0800 Subject: [PATCH] refactor: comment component dependency import Signed-off-by: Ryan Wang --- journals.ftl | 2 ++ module/comment.ftl | 2 -- post.ftl | 2 ++ sheet.ftl | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/journals.ftl b/journals.ftl index 2fe5994..c7f1877 100644 --- a/journals.ftl +++ b/journals.ftl @@ -6,6 +6,8 @@ <#include "./module/highlightjs/libs-import.ftl" /> <#include "./module/lightgallery/libs-import.ftl" /> <#include "./module/katex/libs-import.ftl" /> + + <@layout.put block="content"> <@page_heading title="日志" subtitle="${journals.totalElements!} 篇" /> diff --git a/module/comment.ftl b/module/comment.ftl index 4024116..5169af5 100644 --- a/module/comment.ftl +++ b/module/comment.ftl @@ -1,7 +1,5 @@ <#macro comment post,type> <#if !post.disallowComment!false> - - \ No newline at end of file diff --git a/post.ftl b/post.ftl index 9c82cdd..a59099a 100644 --- a/post.ftl +++ b/post.ftl @@ -6,6 +6,8 @@ <#include "./module/highlightjs/libs-import.ftl" /> <#include "./module/lightgallery/libs-import.ftl" /> <#include "./module/katex/libs-import.ftl" /> + + <@layout.put block="content"> <@page_heading title="${post.title!}" subtitle=""> diff --git a/sheet.ftl b/sheet.ftl index a17ae69..14d5109 100644 --- a/sheet.ftl +++ b/sheet.ftl @@ -4,6 +4,8 @@ <@layout.put block="head"> <#include "./module/highlightjs/libs-import.ftl" /> <#include "./module/lightgallery/libs-import.ftl" /> + + <@layout.put block="content"> <@page_heading title="${post.title!}" subtitle="">