{% extends "cavebase.html" %}

{% block title %}Cave Index{% endblock %}

{% block content %}

<h1>Cave Index</h1>
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
  <li> {{ cave.areacode }} <a href="/{{ cave.url }}">
      {% if cave.kataster_number %}
          {{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a> 
          {% if cave.unofficial_number %}
              ({{cave.unofficial_number }})
          {% endif %}
      {% else %}
          {{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a> 
      {% endif %}
{% endfor %}
</ul>

{% include 'cave_red_star.html' %}

<p>See <em><a href="/caves_undropped">Undropped Caves</a></em> for all unexplored caves<br />
See <em> <a href="/caves_recent">Recent Caves</a></em> for a shorter list of recent caves.

    <p style="text-align:right">
    <a href="{% url "newcave" %}">New Cave</a><br>
        <a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
    </p>



<h3>This year's caves</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves_this_year %}
	{% include 'cavelist_columns.html' %}
{% endfor %}
</table>
</div>

<h3>1623</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves1623 %}
	{% include 'cavelist_columns.html' %}
{% endfor %}
</table>
</div>

    <p style="text-align:right">
    <a href="{% url "newcave" %}">New Cave</a><br>
        <a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
    </p>

<h3>1626</h3>
<div style="column-count: 3;">
<table class="searchable">
    {% for cave in caves1626 %}
	{% include 'cavelist_columns.html' %}
  {% endfor %}
</table>
</div>

  <p style="text-align:right">
    <a href="{% url "newcave" %}">New Cave</a><br>
    <a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
  </p>


<h3>1627</h3>
<div style="column-count: 3;">
<table class="searchable">
    {% for cave in caves1627 %}
	{% include 'cavelist_columns.html' %}
 {% endfor %}
</table>
</div>

  <p style="text-align:right">
    <a href="{% url "newcave" %}">New Cave</a><br>
    <a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
  </p>

<h3>1624</h3>
<div style="column-count: 3;">
<table class="searchable">
    {% for cave in caves1624 %}
 	{% include 'cavelist_columns.html' %}

  {% endfor %}
</table>

</div>  
 
  <p style="text-align:right">
    <a href="{% url "newcave" %}">New Cave</a><br>
    <a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
  </p>
{% endblock %}
