mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-16 01:00:17 -04:00
70 lines
2.6 KiB
HTML
70 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
{% load static %}
|
|
<head>
|
|
<link href="{% static 'css/about.css' %}" rel="stylesheet" />
|
|
{% include 'head.html' %}
|
|
<title>About - TJSGA</title>
|
|
</head>
|
|
<body>
|
|
{% include 'header.html' %}
|
|
<div id="wrapper" class="fluid">
|
|
<section id="contact">
|
|
<h2>Contact Us!</h2>
|
|
<div class="desc">
|
|
<span class="quote">
|
|
"The world is moved not only by the mighty shoves of the heroes, but also by the aggregate of the tiny pushes of each honest worker." - Helen Keller
|
|
</span>
|
|
</div>
|
|
<div class="desc">
|
|
Contact us at
|
|
<a href="mailto:sga.tjhsst@gmail.com">sga.tjhsst@gmail.com</a>. We would love to answer questions or hear
|
|
about how you think we can improve TJ!
|
|
</div>
|
|
</section>
|
|
<hr />
|
|
{% for org in site.data.about %}
|
|
<section id="{{ org['username'] }}">
|
|
<h2>{{ org['name'] }}</h2>
|
|
{% for member in org.members %}
|
|
<div class="{{ org.username }}-intro">
|
|
{% assign year = member.year | downcase %}
|
|
{% assign first = member.first | slice: 0 %}
|
|
{% assign last = member.last | slice: 0,7 %}
|
|
{% if org['username'] != "sponsors" %}
|
|
{% capture filename %}img/people/{{ year }}{{ first }}{{ last }}.jpg{% endcapture %}
|
|
{% else %}
|
|
{% capture filename %}img/people/{{ first }}{{ last }}.jpg{% endcapture %}
|
|
{% endif %}
|
|
{% capture exists %}
|
|
{% file_exists {{ path }} %}
|
|
{% endcapture %}
|
|
{% if exists == false %}
|
|
{% capture filename %}img/profile.jpg{% endcapture %}
|
|
{% endif %}
|
|
<div class="{{ org.username }}-image">
|
|
<img src="{{ filename | strip_newlines | downcase }}" />
|
|
</div>
|
|
<div class="{{ org.username }}-text">
|
|
<span>{{ member.first }} {{ member.last }}</span>
|
|
{% if org['username'] != "sponsors" and org['username'] != "senators" %}
|
|
<span>{{ year }}</span>
|
|
{% endif %}
|
|
|
|
{% if org['username'] != "officers" %}
|
|
<span>{{ member.title }}</span>
|
|
{% endif %}
|
|
|
|
{% if org['username'] == "officers" %}
|
|
<p>{{ member.intro }}</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</section>
|
|
{% endfor %}
|
|
</div>
|
|
{% include 'footer.html' %}
|
|
</body>
|
|
</html>
|