Skip to content

Commit

Permalink
Merge pull request music-encoding#591 from music-encoding/peterstadle…
Browse files Browse the repository at this point in the history
…r-patch-2

add conditional for external URLs
  • Loading branch information
musicEnfanthen authored Mar 22, 2024
2 parents ecf6b41 + 4368c59 commit a911127
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion conference/past.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ title: "Past Music Encoding Conferences"
<div class="card project">
<div class="card-image">
{% if conference.image %}
<img class="mei-project-image img-fit-cover" alt="{{ conference.tag }}" src="{{ site.baseurl }}/images/{{ conference.image }}"/>
<img class="mei-project-image img-fit-cover" alt="{{ conference.tag }}"
src="{% if conference.image contains '://' %}
{{ conference.image }}
{% else %}
{{ site.baseurl }}/images/{{ conference.image }}
{% endif %}"/>
{% else %}
<div class="hero hero-sm bg-primary text-light">
<div class="hero-body">
Expand Down

0 comments on commit a911127

Please sign in to comment.