1
0
mirror of https://gitlab.com/free_zed/free_zed.gitlab.io.git synced 2024-06-09 11:52:31 +00:00
free_zed.gitlab.io/theme-uberspot/templates/base.html
Freezed 8a0ffa824c 💄 Fix URLs & remove useless templates
TODO footer :
* Add pages
* Add last commit hash/link
* Bottom line

TODO plugin:
* post_stats
* tipue_search
* neighbors
* https://github.com/pelican-plugins/seo

Source : https://gitlab.com/axil/pelican-uberspot/-/blob/master/README.md
2020-07-25 23:06:29 +02:00

57 lines
2.1 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 FAVICO %}
<link rel="shortcut icon" href="{{ SITEURL }}/{{ FAVICO }}">
{% endif %}
{% if FEED_ATOM %}
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom 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 content %}
{% block footnote %}{% endblock footnote %}
</div>
<footer>
{% include "footer.html" %}
</footer>
{% if JS_HTTPS %}
{% include "js_https.html" %}
{% endif %}
</body>
</html>