Skip to content

Commit

Permalink
Merge pull request #67 from peterolayinka/fix-organizer-web-protocol-
Browse files Browse the repository at this point in the history
  • Loading branch information
noahalorwu committed Aug 4, 2023
2 parents 05af777 + e3a9d46 commit a62ad4c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _includes/team-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ <h1 class="role">{{ team.role }}</h1>
{% endif %}
<!-- website -->
{% if team.website != "" %}
<a href="https://{{ team.website }}" target="_blank">
{% if team.website contains '://' %}
{% assign website = team.website %}
{% else %}
{% assign website = 'https://' | append: team.website %}
{% endif %}
<a href="{{ website }}" target="_blank">
<img class="social-icon" src="/static/img/site/pwebsite.svg" alt="Email" />
</a>
{% endif %}
Expand Down

0 comments on commit a62ad4c

Please sign in to comment.