Skip to content
Snippets Groups Projects
Unverified Commit 23bf5fda authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Make blog depiction credits optional

parent c64140e9
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
<a href="{{ post.permalink }}"> <a href="{{ post.permalink }}">
<figure class="image is-4by3"> <figure class="image is-4by3">
<img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" /> <img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" />
<figcaption>{{ post.extra.depiction.credits }}</figcaption> {% if post.extra.depiction.credits %}
<figcaption>{{ post.extra.depiction.credits }}</figcaption>
{% endif %}
</figure> </figure>
</a> </a>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment