This repository has been archived on 2023-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
undefined-pelican-theme/templates/base.html
2022-08-28 14:58:11 +02:00

101 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
<head>
{% block head %}
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="Pelican" />
<title>
{% block head_title %}
{{ SITENAME }}
{% endblock head_title %}
</title>
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/latex.css" />
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/undef.css" />
{% if FAVICON %}
<link rel="icon" type="image/svg+xml" href="{{ SITEURL }}/{{ FAVICON }}" sizes="any" />
{% endif %}
{% if FEED_ALL_ATOM %}
<link rel="alternate" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" title="{{ SITENAME }} Atom Feed" />
{% endif %}
{% if FEED_ALL_RSS %}
<link rel="alternate" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" title="{{ SITENAME }} RSS Feed" />
{% endif %}
{% endblock head %}
</head>
<body>
<nav class="navigation">
<h1>
undefined <br/>
behavior
</h1>
<div>
<a href="{{ SITEURL }}/">
All Posts
</a>
{% if DISPLAY_PAGES_ON_MENU %}
{% for p in pages %}
{% if loop.first %}
<br />
{% endif %}
<a href="{{ SITEURL }}/{{ p.url }}">
{{ p.title }}
</a>
{% if not loop.last %}
<br />
{% endif %}
{% endfor %}
{% endif %}
{% if FEED_ALL_ATOM %}
<br />
<a href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}">
Atom Feed
</a>
{% endif %}
{% if FEED_ALL_RSS %}
<br />
<a href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}">
RSS Feed
</a>
{% endif %}
<footer>
{% for title, link in LINKS %}
<a href="{{ link }}">
{{ title | lower }}
</a>
{% if not loop.last %}
::
{% endif %}
{% endfor %}
</footer>
</div>
</nav>
<header>
<h1>
{% block title %}
{% endblock %}
</h1>
<p class="author">
{% block author %}
{% endblock %}
</p>
</header>
<div class="abstract">
<h2>
Abstract
</h2>
<p>
{% block abstract %}
{% endblock %}
</p>
</div>
<main>
<article>
{% block content %}
{% endblock %}
</article>
</main>
</body>
</html>