diff --git a/templates/common/config.html b/templates/common/config.html
index f6357d2..df935ff 100644
--- a/templates/common/config.html
+++ b/templates/common/config.html
@@ -1,105 +1,101 @@
-
diff --git a/templates/common/layout.html b/templates/common/layout.html
index 4a0ebf5..9a3bdbe 100644
--- a/templates/common/layout.html
+++ b/templates/common/layout.html
@@ -1,5 +1,5 @@
+ th:fragment="layout (title, canonical, content, isPost)">
diff --git a/templates/common/scripts.html b/templates/common/scripts.html
index f355d35..1536d90 100644
--- a/templates/common/scripts.html
+++ b/templates/common/scripts.html
@@ -8,12 +8,12 @@
-
-
+
+
-
+
@@ -37,9 +37,7 @@
-
-
-
+
@@ -48,10 +46,5 @@
-
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index 35d3995..2254cb5 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,6 +1,6 @@
+ th:replace="~{common/layout :: layout (title = ${site.title}, canonical = ${site.url}, content = ~{::content}, isPost = false)}">
首页
diff --git a/templates/widget/love.html b/templates/widget/love.html
index 60cbffa..f0a7fe4 100644
--- a/templates/widget/love.html
+++ b/templates/widget/love.html
@@ -1,4 +1,4 @@
-