diff --git a/__init__.py b/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/templates/blog/base.html b/templates/blog/extension/base.html
similarity index 88%
rename from templates/blog/base.html
rename to templates/blog/extension/base.html
index ef693d4..0790a70 100644
--- a/templates/blog/base.html
+++ b/templates/blog/extension/base.html
@@ -3,13 +3,13 @@
- {% block logs_and_page %}
+
+ {% block content %}
{# 这里存放写入模板的数据 #}
{% endblock %}
- {% include 'blog/footer.html' %}
+ {% include 'blog/include/footer.html' %}
@@ -24,7 +24,7 @@
color: black;
font-weight: bold;
}
- #logs_and_page {
+ #content {
margin: 0 0 0 0;
margin-left: 5%;
width: 90%;
diff --git a/templates/blog/home.html b/templates/blog/home.html
index e7f5f66..98d6cec 100644
--- a/templates/blog/home.html
+++ b/templates/blog/home.html
@@ -1,14 +1,14 @@
{# 引入base #}
-{% extends 'blog/base.html' %}
+{% extends 'blog/extension/base.html' %}
{# 引入标题 #}
{% block title %}首页{% endblock %}
-{% include 'blog/head.html' %}
+{% include 'blog/include/head.html' %}
-{% include 'blog/wallpaper.html' %}
+{% include 'blog/include/wallpaper.html' %}
-{% block logs_and_page %}
+{% block content %}
欢迎访问open-ww3-project
屑站日志:
@@ -52,11 +52,10 @@
{% endfor %}
-
{% endblock %}
\ No newline at end of file
diff --git a/templates/blog/footer.html b/templates/blog/include/footer.html
similarity index 70%
rename from templates/blog/footer.html
rename to templates/blog/include/footer.html
index e3db7ee..21f5081 100644
--- a/templates/blog/footer.html
+++ b/templates/blog/include/footer.html
@@ -5,11 +5,17 @@
padding: 10px;
margin-top: 0;
">
+