manymanymany-varia-websites/themes/cetcat/templates/base.html

48 lines
1.7 KiB
HTML
Raw Normal View History

2017-07-06 14:28:42 +02:00
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
{% block head %}
2017-11-24 18:34:04 +01:00
<title>{% block title %}{{ SITENAME }} {{SITESUBTITLE}}{% endblock title %}</title>
2017-07-06 14:28:42 +02:00
<meta charset="utf-8" />
<link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="{{ SITEURL }}/favicon.ico" type="image/x-icon">
{% from 'syndication.html' import syndication with context %}
{{ syndication(article) }}
2018-02-01 16:26:03 +01:00
<link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}/css/pygment.css" />
<link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
2017-07-06 14:28:42 +02:00
{% endblock head %}
</head>
<body id="index" class="home">
2017-09-14 23:40:20 +02:00
<div id="translation">
2017-11-24 18:34:04 +01:00
{% if I18N_SUBSITES %}
{% for lang, url in I18N_SUBSITES.items() %}
{% if lang == 'nl' %}
2017-09-14 23:40:20 +02:00
<li{% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/">{{ lang }}</a></li>
{% endif %}
2017-11-24 18:34:04 +01:00
{% if lang == 'en' %}
<li{% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/{{ lang }}/">{{ lang }}</a></li>
2017-09-14 23:40:20 +02:00
{% endif %}
{% endfor %}
{% endif %}
2017-10-20 15:59:16 +02:00
<br>
{% if FEED_ALL_RSS %}
2017-11-24 18:34:04 +01:00
<li><a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml"><i class="fa fa-rss "></i>RSS</a></li>
{% endif %}
2017-09-14 23:40:20 +02:00
</div>
<header id="banner">
{% for p in pages %}
{% if p.title == 'header' %}
<div id="title">{{ p.content }}</div>
{% endif %}
{% endfor %}
</header>
2017-09-14 23:40:20 +02:00
{% block content %}
{% endblock %}
2017-07-06 14:28:42 +02:00
</body>
</html>