bots-as-digital-infrapunctures/themes/default/templates/base.html

45 lines
1.4 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
<head>
{% block head %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<meta charset="utf-8" />
<meta name="generator" content="Pelican" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
{% endblock head %}
</head>
2020-12-23 14:48:30 +01:00
<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="{{ SITEURL }}/">{{ SITENAME }}{% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1>
</header>
<nav id="menu"><ul>
{% for title, link in MENUITEMS %}
2020-09-18 15:16:59 +02:00
<a href="{{ link }}"><li>{{ title }}</li></a>
{% endfor %}
{% if DISPLAY_CATEGORIES_ON_MENU %}
2020-09-11 17:59:20 +02:00
{% for cat, null in categories %}
2020-09-18 15:16:59 +02:00
{% set c = cat|replace("-","</em><br><br>") %}
{% set c = '<em>'+c %}
<a href="{{ SITEURL }}/{{ cat.url }}"><li{% if cat == category %} class="active"{% endif %}>{{ c }}</li></a>
2020-09-11 17:59:20 +02:00
{% endfor %}
{% endif %}
2020-09-18 15:16:59 +02:00
<br>
<a href="{{ SITEURL }}/pages/about.html"><li class="pagelink {% if 'about' in output_file %}active{% endif %}">About this Module</li></a>
<a href="{{ SITEURL }}/roadmap.html"><li class="pagelink {% if 'roadmap' in output_file %}active{% endif %}">Roadmap</li></a>
2020-09-11 17:59:20 +02:00
</ul></nav>
<section id="content">
{% block content %}
{% endblock %}
</section>
<footer id="contentinfo" class="body">
<hr>
</footer>
</body>
</html>