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:
@@ -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>
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user