gallery blueimp
This commit is contained in:
@@ -4,15 +4,14 @@
|
||||
|
||||
<h1>{{post.title}}</h1>
|
||||
{{post.date}}
|
||||
{% if spi | length > 0 %}
|
||||
{% if filelists.sub_index_pages | length > 0 %}
|
||||
<hr/>
|
||||
<b id="up_head"> Unterseiten: </b>
|
||||
<ul class="nav flex-column flex-sm-row " labeledby="up_head">
|
||||
{% for d in spi %}
|
||||
{% for d in filelists.sub_index_pages %}
|
||||
<li class="nav-item">
|
||||
<a href="{{url_for('page',name=d['path'])}}" class="nav-link">
|
||||
<h6> {{d.title}} <small class="text-muted">{{'/'.join(d.path.split('/')[-2:-1])}} </small>
|
||||
</h6>
|
||||
<a href="{{d.url}}" class="nav-link">
|
||||
<h6> {{d.title}} <small class="text-muted">{{d.desc}} </small> </h6>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
@@ -23,28 +22,32 @@
|
||||
{{ post.html|safe }}
|
||||
|
||||
|
||||
{% if sp|length > 0 %}
|
||||
{% if filelists.sub_pages |length > 0 %}
|
||||
<ul class="nav flex-column flex-sm-row" labeledby="inf_head">
|
||||
{% for d in sp %}
|
||||
<li class="nav-item">
|
||||
<a href="{{url_for('page',name=d['path'])}}" class="nav-link text-info">
|
||||
<h6> {{d.title}} <small class="text-muted">{{d.path.split('/')[-1]}} </small>
|
||||
</h6>
|
||||
{% for d in filelists.sub_pages %}
|
||||
<li class="nav-item">
|
||||
<a href="{{d.url}}" class="nav-link text-info">
|
||||
<h6> {{d.title}} <small class="text-muted">{{d.desc}} </small>
|
||||
</h6>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if filelists.list_files |length > 0 %}
|
||||
|
||||
<hr/>
|
||||
|
||||
<b id="inf_head">Files:</b>
|
||||
<ul>
|
||||
{% for d in ld %}
|
||||
<li>
|
||||
<a href="{{url_for('page', name=d)}}">{{d}} </a>
|
||||
|
||||
</li>
|
||||
{% for d in filelists.list_files %}
|
||||
<li>
|
||||
<a href="{{d.url}}">{{d}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user