新增paint页面,暂时放弃api来fetch数据构建页面,预计可能还有大量问题,暂时打算先整理所有的文件
This commit is contained in:
53
templates/paint/home.html
Normal file
53
templates/paint/home.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user