Skip to content

Commit

Permalink
change organizers to vertical
Browse files Browse the repository at this point in the history
  • Loading branch information
YzyLmc committed Dec 21, 2023
1 parent fe81aed commit 8df43ae
Showing 1 changed file with 48 additions and 49 deletions.
97 changes: 48 additions & 49 deletions _layouts/organizers.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,51 @@

<h5><i><pre>"If I have seen further, it is by standing on the shoulders of giants."<br>
- Isaac Newton, 1675</pre></i></h5>

<div class = "post-content">
<table style="border-collapse: collapse; border: none; ">
<tr style="border: none;">
{% for organizer in site.organizers %}
<td style="border: none; vertical-align: top; padding: 10px 10px;">
<div class="col-xs-12">
<p align="center">
{% if organizer.img_url %}
<img class="people-pic" src="{{ organizer.img_url }}" target="_blank">
{% elsif organizer.img %}
<img class="people-pic" src="{{ organizer.img | prepend: '/assets/img/organizers/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">
{% else %}
<img class="people-pic" src="{{ 'avatar.jpg' | prepend: '/assets/img/organizers/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">
{% endif %}
</p>
</div>
<div class="people-name text-center">
<!-- organizer name (link to webpage if provided) -->
<span class="larger-name">
{% if organizer.webpage %}
<a href="{{ organizer.webpage }}" target="_blank">{{ organizer.name }}</a>
{% else %}
{{ organizer.name }}
{% endif %}
</span>
<br>
<!-- organizer affiliation (if provided) -->
{% if organizer.affil_link %}
<a href="{{ organizer.affil_link }}" target="_blank">{{ organizer.affil }}</a>
{% else %}
{{ organizer.affil }}
{% endif %}
<!-- Additional organizer affiliation (if provided) -->
{% if organizer.affil2_link %}
<br>
<a href="{{ organizer.affil2_link }}" target="_blank">{{ organizer.affil2 }}</a>
{% elsif organizer.affil2 %}
<br>
{{ organizer.affil2 }}
{% endif %}
</div>
</td>
{% endfor %}
</tr>
</table>
</div>

</article>


<div class = "post-content">
<table style="border-collapse: collapse; border: none;">
{% for organizer in site.organizers %}
<tr style="border: none;">
<td style="border: none;">
<div class="col-xs-12">
<p align="center">
{% if organizer.img %}
<img class="people-pic" src="{{ organizer.img | prepend: '/assets/img/organizers/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">
{% else %}
<img class="people-pic" src="{{ 'avatar.jpg' | prepend: '/assets/img/organizers/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">
{% endif %}
</p>
</div>
</td>
<td style="border: none;">
<div class="people-name text-center">
<!-- organizer name (link to webpage if provided) -->
{% if organizer.webpage %}
<a href="{{ organizer.webpage }}" target="_blank">{{ organizer.name }}</a>
{% else %}
{{ organizer.name }}
{% endif %}
<br>
<!-- organizer affiliation (if provided) -->
{% if organizer.affil_link %}
<a href="{{ organizer.affil_link }}" target="_blank">{{ organizer.affil }}</a>
{% else %}
{{ organizer.affil }}
{% endif %}
<!-- Additional organizer affiliation (if provided) -->
{% if organizer.affil2_link %}
<br>
<a href="{{ organizer.affil2_link }}" target="_blank">{{ organizer.affil2 }}</a>
{% elsif organizer.affil2 %}
<br>
{{ organizer.affil2 }}
{% endif %}
</div>
</td>
</tr>
{% endfor %}
</table>
</div>

</article>

0 comments on commit 8df43ae

Please sign in to comment.