We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebfb0b1 commit 6af98adCopy full SHA for 6af98ad
var/www/templates/objects/pdf/card_pdf.html
@@ -59,12 +59,14 @@ <h5><i class="far fa-file"></i> File Names:</h5>
59
</ul>
60
</li>
61
{% if 'author' in meta %}
62
- <li class="list-group-item py-0">
63
- <h5><i class="fas fa-user-pen"></i> Author:</h5>
64
- <ul>
65
- <li>{{ meta['author'] }}</li>
66
- </ul>
67
- </li>
+ {% if meta['author'] %}
+ <li class="list-group-item py-0">
+ <h5><i class="fas fa-user-pen"></i> Author:</h5>
+ <ul>
+ <li>{{ meta['author'] }}</li>
+ </ul>
68
+ </li>
69
+ {% endif %}
70
{% endif %}
71
{% if 'file-meta' in meta %}
72
{% if meta['file-meta'] %}
0 commit comments