66 lines
2.4 KiB
HTML
66 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="-1" />
|
|
<link rel="stylesheet" href="/theme/css/main.css" type="text/css" />
|
|
<link rel="stylesheet" href="/theme/css/friendly.css" type="text/css" />
|
|
<link rel="stylesheet" href="/theme/css/print.css" type="text/css" media="print" />
|
|
<link rel="stylesheet" href="/theme/tipuesearch/tipuesearch.css" type="text/css" media="screen">
|
|
<link rel="stylesheet" href="/theme/css/fork-awesome.min.css" type="text/css"/>
|
|
{% if SITE_ICON %}
|
|
<link rel="shortcut icon" href="{{ SITE_ICON }}">
|
|
{% endif %}
|
|
{% if FEED_ATOM %}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
|
{% endif %}
|
|
{% if FEED_RSS %}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
{% endif %}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1><a href="/" title="{{ SITESUBTITLE }}">{{ SITENAME }}</a></h1>
|
|
<nav>
|
|
{% for title, link in MENUITEMS %}
|
|
<a href="{{ link }}">{{ title }}</a>
|
|
{% endfor %}
|
|
{% if DISPLAY_CATEGORIES_ON_MENU -%}
|
|
{% for cat, null in categories %}
|
|
<a{% if cat == category %} class="active"{% endif %} href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% if DISPLAY_PAGES_ON_MENU -%}
|
|
{% for pg in pages %}
|
|
<a{% if pg == page %} class="active"{% endif %} href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</nav>
|
|
</header>
|
|
|
|
<div id="main">
|
|
{% block content %}{% endblock %}
|
|
{% if PDF_PROCESSOR %}
|
|
<a href="/pdf/{{ article.slug }}.pdf">PDF</a>
|
|
{% endif %}
|
|
{% if PRINT %}
|
|
<a href="javascript:window.print();" title="Print">Print</a>
|
|
{% endif %}
|
|
{% block footnote %}{% endblock %}
|
|
</div>
|
|
|
|
<footer>
|
|
{% include "footer.html" %}
|
|
</footer>
|
|
|
|
{% if JS_HTTPS %}
|
|
{% include "js_https.html" %}
|
|
{% endif %}
|
|
|
|
</body>
|
|
</html>
|