Skip to content

Commit

Permalink
Fix handling of team pictures in HTML templates
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jan 22, 2024
1 parent c1e4aa0 commit 0fdac6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/themes/lab/member.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% assign member = page %}

{% if member.image %}
{% assign image = "/assets/images/team/" + member.image %}
{% assign image = "/assets/images/team/" | append: member.image %}
{% else %}
{% assign image = "/assets/images/team/placeholder.png" %}
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion team/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<table align="center"; width=1000px>
{% tablerow member in current cols:2 %}
{% if member.image %}
{% assign image = member.image %}
{% assign image = "/assets/images/team/" | append: member.image %}
{% else %}
{% assign image = "/assets/images/placeholder-user.png" %}
{% endif %}
Expand Down

0 comments on commit 0fdac6e

Please sign in to comment.