some fixes for album html rendering
This commit is contained in:
parent
9434eb835d
commit
53a6c34785
4 changed files with 28 additions and 26 deletions
|
|
@ -3,7 +3,6 @@
|
|||
{% block content %}
|
||||
{% if root_path %}
|
||||
<h1>
|
||||
<a href="{{root_path}}">Home</a>
|
||||
{% for crumb in breadcrumbs %}
|
||||
/ <a href="{{crumb.path}}">{{crumb.name}}</a>
|
||||
{% endfor %}
|
||||
|
|
@ -12,9 +11,9 @@
|
|||
<hr>
|
||||
{% endif %}
|
||||
|
||||
{% if album_dir.description %}
|
||||
{% if description %}
|
||||
<div class="caption">
|
||||
{{ album_dir.description | safe }}
|
||||
{{ description | safe }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
@ -26,7 +25,7 @@
|
|||
<a href="{{child.name}}/">
|
||||
<div>
|
||||
<img
|
||||
src="{{child.cover_thumbnail_path}}" />
|
||||
src="{{child.name}}/{{child.cover_thumbnail_path}}" />
|
||||
</div>
|
||||
<div>
|
||||
{{child.name}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue