新增paint页面,暂时放弃api来fetch数据构建页面,预计可能还有大量问题,暂时打算先整理所有的文件

This commit is contained in:
2026-06-19 20:08:22 +00:00
parent abdf1b4258
commit 45bac5e3c3
11 changed files with 147 additions and 67 deletions

53
templates/paint/home.html Normal file
View File

@@ -0,0 +1,53 @@
{# 引入base #}
{% extends 'blog/extension/base.html' %}
{% include 'blog/include/head.html' %}
{# 引入标题 #}
{% block title %}paint{% endblock %}
{% block content %}
<head>
<style>
hr {
background-color: black;
height: 2px;
border: none;
}
#navbar2 {
font-size: 125%;
width: 500px;
height: auto;
background-color: rgb(169, 198, 252);
}
</style>
</head>
<body>
<div>
{% include 'blog/include/navbar2.html' %}
</div>
<a href="/blog/">返回主页</a>
<h2>这里是关于本人的绘画学习及其临摹的记录和展示页面</h2>
<hr>
<a href="https://ww3.tw/blog/folders/paint/old">旧作列表</a>
<br>
{% for data in data %}
<br>
<img src="{{img_url}}{{data['date']}}/{{data['name']}}.jpg" alt="{{data['name']}}" width="15%">
<br>
{{data['name']}}__
{{data['date']}}
{% endfor %}
<br>
<br>
<!-- tags: __{{tags_data}}
<br>
<br>
class: __{{class_data}} -->
</body>
{% endblock %}