Skip to content

Commit

Permalink
[Base] Fix author bug (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
DorienD authored and loetie committed Sep 13, 2019
1 parent 8c089e6 commit 9e929d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_ginger_base/templates/media/_caption.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% if caption or id.o.actor %}
<figcaption>
{% if caption == "-" %}{% else %}
<p>{{ caption }}{% if id.o.author %} {_ By: _} <a href="{{ id.o.author[1]].page_url }}">{{ id.o.author[1]].title }}</a>{% endif %}</p>
<p>{{ caption }}{% if id.o.author %} {_ By: _} <a href="{{ id.o.author[1].page_url }}">{{ id.o.author[1].title }}</a>{% endif %}</p>
{% endif %}
{% include "copyrights/copyrights.tpl" %}
{% include "person/actors.tpl" title=_"With:" %}
Expand Down

0 comments on commit 9e929d3

Please sign in to comment.