diff --git a/templates/blog/include/navbar.html b/templates/blog/include/navbar.html index 6a5990a..f4a9965 100644 --- a/templates/blog/include/navbar.html +++ b/templates/blog/include/navbar.html @@ -4,7 +4,7 @@ {"id":1, "name": "首页", "url": url_for('blog.home')}, {"id":2, "name": "关于", "url": url_for('blog.about')}, {"id":3, "name": "文章", "url": url_for('blog.posts_list')}, - {"id":4, "name": "mirrors", "url": url_for('blog.autoindex')}, + {"id":4, "name": "folders", "url": url_for('blog.autoindex')}, {"id":5, "name": "study", "url": url_for('study.home')}, ]%}
\ No newline at end of file + class + diff --git a/templates/blog/include/navbar2.html b/templates/blog/include/navbar2.html new file mode 100644 index 0000000..707e944 --- /dev/null +++ b/templates/blog/include/navbar2.html @@ -0,0 +1,20 @@ +{# navbar 部分 #} + +{% set navbar_list = [ + {"id":1, "name": "首页", "url": url_for('blog.home')}, + {"id":2, "name": "关于", "url": url_for('blog.about')}, + {"id":3, "name": "文章", "url": url_for('blog.posts_list')}, + {"id":4, "name": "folders", "url": url_for('blog.autoindex')}, + {"id":5, "name": "study", "url": url_for('study.home')}, +]%} + + diff --git a/templates/blog/include/wallpaper.html b/templates/blog/include/wallpaper.html index 20d3fa8..cb39ea1 100644 --- a/templates/blog/include/wallpaper.html +++ b/templates/blog/include/wallpaper.html @@ -1,8 +1,6 @@ {# 壁纸部分 #} {% set wallpaper_apis =[ - 'https://www.loliapi.com/acg/pc/', - 'https://api.sretna.cn/api/pc.php', - 'https://www.api.plus/api/dongman', + 'https://www.loliapi.com/acg/pc/', 'https://moe.jitsu.top/img/?sort=pc', 'https://www.dmoe.cc/random.php', 'https://api.mtyqx.cn/tapi/random.php'] %} diff --git a/templates/paint/home.html b/templates/paint/home.html new file mode 100644 index 0000000..03a95ac --- /dev/null +++ b/templates/paint/home.html @@ -0,0 +1,53 @@ +{# 引入base #} +{% extends 'blog/extension/base.html' %} + +{% include 'blog/include/head.html' %} + + + + +{# 引入标题 #} +{% block title %}paint{% endblock %} + +{% block content %} + + + + +
+