css, templates
This commit is contained in:
40
templates/post.html
Normal file
40
templates/post.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<LINK href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
|
||||
<h1>{{post.title}}</h1>
|
||||
{{post.date}}
|
||||
{{ post.html|safe }}
|
||||
|
||||
<br>
|
||||
|
||||
Unterordner:
|
||||
<ul>
|
||||
{% for d in spi %}
|
||||
<li>
|
||||
<a href="{{url_for('post',name=d['path'])}}">{{d.title}} {{'/'.join(d.path.split('/')[-2:-1])}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<hr>
|
||||
Info:
|
||||
<ul>
|
||||
{% for d in sp %}
|
||||
<li>
|
||||
<a href="{{url_for('post',name=d.path)}}">{{d.title}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Files:
|
||||
<ul>
|
||||
{% for d in ld %}
|
||||
<li>
|
||||
<a href="{{d}}">{{d}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user