gallery template
This commit is contained in:
@@ -1,47 +1,47 @@
|
||||
<LINK href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||||
{% extends "layout.html" %}
|
||||
{% block content %}
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<nav class="breadcrumb" style="background-color: #FFF">
|
||||
{% for b in pagebreadcrumbs %}
|
||||
<a href="{{url_for('post',name=b.path)}}" class="breadcrumb-item">{{b.title}} </a>
|
||||
{% endfor %}
|
||||
<a href="{{url_for('post',name=post.path)}}" class="breadcrumb-item active">{{post.title}} </a>
|
||||
</nav>
|
||||
<h1>{{post.title}}</h1>
|
||||
{{post.date}}
|
||||
{{ post.html|safe }}
|
||||
|
||||
<br>
|
||||
|
||||
<b id="up_head"> Unterordner: </b>
|
||||
<ul class="nav flex-column" labeledby="uo_head">
|
||||
{% for d in spi %}
|
||||
<li class="nav-item">
|
||||
<a href="{{url_for('post',name=d['path'])}}" class="nav-link">{{d.title}} {{'/'.join(d.path.split('/')[-2:-1])}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if spi|length > 0 %}
|
||||
<hr>
|
||||
Info:
|
||||
<ul>
|
||||
{% for d in sp %}
|
||||
<li>
|
||||
<a href="{{url_for('post',name=d.path)}}">{{d.title}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<b id="up_head"> Unterordner: </b>
|
||||
<ul class="nav flex-column flex-sm-row " labeledby="up_head">
|
||||
{% for d in spi %}
|
||||
<li class="nav-item">
|
||||
<a href="{{url_for('post',name=d['path'])}}" class="nav-link">
|
||||
<h6> {{d.title}} <small class="text-muted">{{'/'.join(d.path.split('/')[-2:-1])}} </small>
|
||||
</h6>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<hr>
|
||||
|
||||
<b id="inf_head"> Info: </b>
|
||||
<ul class="nav flex-column flex-sm-row " labeledby="inf_head">
|
||||
|
||||
{% for d in sp %}
|
||||
<li class="nav-item">
|
||||
<a href="{{url_for('post',name=d['path'])}}" class="nav-link">
|
||||
<h6> {{d.title}} <small class="text-muted">{{d.path.split('/')[-1]}} </small>
|
||||
</h6>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Files:
|
||||
<ul>
|
||||
{% for d in ld %}
|
||||
<li>
|
||||
<a href="/{{pth}}/{{d}}">{{d}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% for d in ld %}
|
||||
<li>
|
||||
<a href="/{{pth}}/{{d}}">{{d}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user