{% extends "base.html" %}
{% block title %}Cave Entrances and other locations in UTM{% endblock %}

{% block content %}

<h1>Aliases for people's names in {{year}}</h1>


<table>
<tr><th>Person</th><th>slug</th><th>aliases</th></tr>
{% for pe in personexpeditions %}
<tr>
   <td>{{pe.person}}</td>
   <td>{{pe.slugfield}}</td>
   <td>{{pe.slugfield}}</td>
 </tr>
{% endfor %}
</table>

<table>
<tr><th>alias</th><th>who</th></tr>
{% for key, value  in aliasdict.items %}
 <tr>
   <td>'{{key}}'</td>
   <td>{{value}}</td>
 </tr>
{% endfor %}
</table>

<table>
<tr><th>who</th><th>aliases</th></tr>
{% for key, value  in invert.items %}
 <tr>
   <td>{{key}}</td>
   <td>{{value}}</td>
 </tr>
{% endfor %}
</table>

<p>The aliases below are specified in the folk.csv file. Only one alias is possible in that format.
<table>
<tr><th>First</th><th>Last</th><th>Full name</th><th>Nickname</th><th>expo first</th><th>expo last</th></tr>
{% for p in persons %}
<tr>
   <td><b>{{p.first_name}}</b></td>
   <td><b>{{p.last_name}}</b></td>
   
   <td>{{p.fullname}}</td>
   <td>{{p.nickname}}</td>
   <td>{{p.first.expedition}}</td>
   <td>{{p.last.expedition}}</td>
</tr>
{% endfor %}
</table>



{% endblock %}