forked from varia/varia.website
35 lines
1.4 KiB
HTML
35 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ DEFAULT_LANG }}">
|
|
<head>
|
|
{% block head %}
|
|
<title>{% block title %}{{ SITENAME }} {{SITESUBTITLE}}{% endblock title %}</title>
|
|
<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) }}
|
|
<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 }}" />
|
|
{% endblock head %}
|
|
</head>
|
|
|
|
<body id="index" class="home">
|
|
<div id="translation">
|
|
{% if I18N_SUBSITES %}
|
|
{% for lang, url in I18N_SUBSITES.items() %}
|
|
{% if lang == 'nl' %}<li {% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/">{{ lang }}</a></li>
|
|
{% endif %}
|
|
{% if lang == 'en' %}<li{% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/{{ lang }}/">{{ lang }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
<br>
|
|
{% if FEED_ALL_RSS %}
|
|
<li><a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml"><i class="fa fa-rss "></i>RSS</a></li>
|
|
{% endif %}
|
|
</div>
|
|
{% block content %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|