Skip to content

Commit

Permalink
remove no video/slides placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
clemiller committed Dec 13, 2023
1 parent 6c344ad commit 2b83897
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions attack-theme/templates/general/attackcon-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,11 @@ <h5 class="mb-0">{{loop.index}}. {{presentation.title}}
{% endif %}

{% if "video" in presentation %}
<a class="card-link" target="_blank" href="{{presentation.video}}">video <img src="/theme/images/external-site-dark.jpeg" alt="External site" class="external-icon"></a>
{% else %}
<span class="card-link">(no video)</span>
<a class="card-link" target="_blank" href="{{presentation.video}}">video <img src="/theme/images/external-site-dark.jpeg" alt="External site" class="external-icon"></a>
{% endif %}

{% if "slides" in presentation %}
<a class="card-link" target="_blank" href="{{presentation.slides}}">slides <img src="/theme/images/external-site-dark.jpeg" alt="External site" class="external-icon"></a>
{% else %}
<span class="card-link">(no slides)</span>
<a class="card-link" target="_blank" href="{{presentation.slides}}">slides <img src="/theme/images/external-site-dark.jpeg" alt="External site" class="external-icon"></a>
{% endif %}
</div>
</div>
Expand Down

0 comments on commit 2b83897

Please sign in to comment.