neotel-website/phonebook/index.html

97 lines
1.9 KiB
HTML

---
layout: page
title: phonebook
---
<section id="service-numbers">
<h2>Service numbers</h2>
<table>
<thead>
<tr>
<th>Extension</th>
<th>Service</th>
</tr>
</thead>
<tbody>
{% for sn in site.data.phonebook.service_numbers %}
<tr>
<td><code>{{ sn.ext }}</code></td>
<td>{{ sn.name }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</section>
<section id="community">
<h2>The community</h2>
<p>
Want a <code>tel.tilde.org.nz</code> number?
<a href="https://tel.tilde.org.nz/register/">
Click here for the registration form!
</a>
</p>
<table>
<thead>
<tr>
<th>Tilde</th>
<th>Extension</th>
<th>User</th>
</tr>
</thead>
<tbody>
{% assign prevtilde = '' %}
{% for user in site.data.phonebook.community %}
<tr>
<td>{% if prevtilde != user.tilde %}{{ user.tilde }}{% endif %}</td>
<td><code>{{ user.ext }}</code></td>
<td>{{ user.name }}</td>
</tr>
{% assign prevtilde = user.tilde %}
{% endfor %}
</tbody>
</table>
</section>
<section id="pstn">
<h2>PSTN dial-in</h2>
<p>
You can dial in to a <code>tel.tilde.org.nz</code> number from the PSTN
by calling one of these numbers, then entering an extension.
</p>
<p>
At this stage, service numbers are not supported - only user extensions
can be reached from the PSTN.
</p>
<table>
<thead>
<tr>
<th>Country</th>
<th>PSTN number</th>
</tr>
</thead>
<tbody>
{% for pstn in site.data.phonebook.pstn %}
<tr>
<td>{{ pstn.country }}</td>
<td><a href="tel:{{ pstn.number }}"><code>{{ pstn.number_friendly }}</code></a></td>
</tr>
{% endfor %}
</tbody>
</table>
</section>
<section id="raw">
<h2>Raw data</h2>
<p>
The data used to generate this page can be found
<a href="phonebook.yml">here (local copy),</a> or
<a href="https://tildegit.org/iris/neotel-website/src/branch/main/_data/phonebook.yml">here (on tildegit).</a>
</p>
</section>