mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 05:55:06 +00:00
Insert troggle menu on 4 pages for caves and entrances
This commit is contained in:
@@ -4,13 +4,22 @@
|
|||||||
<head>
|
<head>
|
||||||
<script>document.interestCohort = null;</script> <!-- Turn off Google FLoC -->
|
<script>document.interestCohort = null;</script> <!-- Turn off Google FLoC -->
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<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>
|
</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/css/main2.css" />
|
<link rel="stylesheet" type="text/css" href="/css/main2.css" />
|
||||||
|
|
||||||
{% block extraheaders %}{% endblock %}
|
{% block extraheaders %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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 %}
|
{% block content %}{% endblock %}
|
||||||
{% include "menu.html" %}
|
{% include "menu.html" %}
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
{% extends "cavebase.html" %}
|
{% extends "cavebase.html" %}
|
||||||
|
|
||||||
|
|
||||||
{% block title %}Cave Index{% endblock %}
|
{% block title %}Cave Index{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h1>Cave Index</h1>
|
<h1>Cave Index</h1>
|
||||||
|
|
||||||
|
|
||||||
<h3>Notable caves</h3>
|
<h3>Notable caves</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{% for cave in notablecaves %}
|
{% for cave in notablecaves %}
|
||||||
|
|||||||
Reference in New Issue
Block a user