2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-13 22:47:07 +00:00

Insert troggle menu on 4 pages for caves and entrances

This commit is contained in:
2025-07-25 14:58:05 +02:00
parent 07e702c458
commit 3032386852
2 changed files with 10 additions and 4 deletions

View File

@@ -4,13 +4,22 @@
<head>
<script>document.interestCohort = null;</script> <!-- Turn off Google FLoC -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% block title %}{{ cave.official_name|safe }}{% endblock %}
<title>{% block headtitle %}{{ cave.official_name|safe }}{% endblock %}
</title>
<link rel="stylesheet" type="text/css" href="/css/main2.css" />
{% block extraheaders %}{% endblock %}
</head>
<body>
{% if year %}
{% firstof year as current_year %}
{% else %}
{% now "Y" as current_year %} <!-- the year now -->
{% endif %}
{% now "Y" as now_year %} <!-- the year now as used in header text -->
<br />
{% block toolbar %}{% include 'troggletoolbar.html' %}{% endblock %}
<p>
{% block content %}{% endblock %}
{% include "menu.html" %}
</body>

View File

@@ -1,13 +1,10 @@
{% extends "cavebase.html" %}
{% block title %}Cave Index{% endblock %}
{% block content %}
<h1>Cave Index</h1>
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}