91 lines
4.7 KiB
HTML
91 lines
4.7 KiB
HTML
<!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" />
|
|
{% if FEED_ALL_ATOM %}
|
|
<link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
|
|
{% endif %}
|
|
{% if FEED_ALL_RSS %}
|
|
<link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
|
|
{% endif %}
|
|
{% if FEED_ATOM %}
|
|
<link href="{{ FEED_DOMAIN }}/{%if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
|
{% endif %}
|
|
{% if FEED_RSS %}
|
|
<link href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
{% endif %}
|
|
{% if CATEGORY_FEED_ATOM and category %}
|
|
<link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL.format(slug=category.slug) }}{% else %}{{ CATEGORY_FEED_ATOM.format(slug=category.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
|
|
{% endif %}
|
|
{% if CATEGORY_FEED_RSS and category %}
|
|
<link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL.format(slug=category.slug) }}{% else %}{{ CATEGORY_FEED_RSS.format(slug=category.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
|
|
{% endif %}
|
|
{% if TAG_FEED_ATOM and tag %}
|
|
<link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_ATOM.format(slug=tag.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
|
|
{% endif %}
|
|
{% if TAG_FEED_RSS and tag %}
|
|
<link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_RSS.format(slug=tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
|
|
{% endif %}
|
|
{% endblock head %}
|
|
|
|
<link rel='icon' href='{{ SITE_URL }}/images/icon.jpg' type='images/png'/ >
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
|
|
<link rel="stylesheet" href="{{SITE_URL}}/theme/css/main.css">
|
|
<link rel="stylesheet" href="{{SITE_URL}}/theme/css/fonts.css">
|
|
<link rel="stylesheet" href="{{SITE_URL}}/theme/css/images.css">
|
|
|
|
</head>
|
|
|
|
<body id="index" class="home">
|
|
|
|
<header class="banner">
|
|
<h1><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>
|
|
<h2 id='site-subtitle'><div class="subtitle-box""">{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}</div></h2>
|
|
</header><!-- /#banner -->
|
|
|
|
<div id="flex-container">
|
|
<section id="content" {% if output_file=='index.html'%} class="edito_content" {% endif %}>
|
|
{% block content %}
|
|
{% endblock %}
|
|
</section>
|
|
|
|
<nav>
|
|
<h3>Contenu du site : </h3>
|
|
<ul>
|
|
<li>
|
|
<a href="{{ SITE_URL }}">Accueil</a>
|
|
</li>
|
|
|
|
<hr>
|
|
|
|
{% for page in pages %}
|
|
{% if page.hidden!='True' %}
|
|
<p>
|
|
<a href="{{SITE_URL}}/{{ page.url }}">{{page.title}}</a>
|
|
</p>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
<hr>
|
|
|
|
{% for category in categories %}
|
|
<h4>{{ category[0] }}</h4>
|
|
{% for article in category[1]|sort(attribute='date', reverse=True)%}
|
|
<li>
|
|
<a href="{{ SITE_URL }}/{{ article.url }}"> {{ article.title }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|