nuir/templates/base.html

55 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
{% block head %}
<title> {% block title %}{{ SITENAME }}{% endblock title %}</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.css" />
<!-- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css">
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/fort-awesome.css" /> -->
{% endblock head %}
</head>
<body>
<header>
<a id="blog-name" href="{{ SITEURL }}/">{{ SITENAME.upper() }}</a>
{% if DISPLAY_CATEGORIES_ON_MENU %}
{% for name, tmp in categories %}
<a href="{{ SITEURL }}/{{ name.url }}">{{ name }}</a>
{% endfor %}
{% endif %}
</header>
{% block content %}
{% endblock content %}
<footer>
<div id="licence-code">
<!--<a href="https://git.gnous.eu/Rick/nuir">Code source du site</a> sous <a href="https://www.gnu.org/licenses/gpl-3.0.html">licence GPL3</a>.-->
<a href="https://git.gnous.eu/Rick/nuir"><img alt="AGPL3" src="https://www.gnu.org/graphics/agplv3-with-text-100x42.png" /></a>
</div>
<div id="licence-art">
{% if NUIR_LICENCE == "CCBY" %}
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Licence CCBY" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a>
{% elif NUIR_LICENCE == "CCBYSA" %}
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Licence CCBYSA" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>
{% elif NUIR_LICENCE == "CCBYNC" %}
<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Licence CCBYNC" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a>
{% elif NUIR_LICENCE == "CCBYNCSA" %}
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Licence CCBYNCSA" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>
{% elif NUIR_LICENCE == "CCBYND" %}
<a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/"><img alt="Licence CCBYND" style="border-width:0" src="https://i.creativecommons.org/l/by-nd/4.0/88x31.png" /></a>
{% elif NUIR_LICENCE == "CCBYNCND" %}
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Licence CCBYNCND" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a>
{% elif NUIR_LICENCE == "GNUFDL" %}
<a rel="license" href="https://www.gnu.org/licenses/fdl-1.3.html"><img alt="Licence GNU FDL" style="border-width:0" src="https://www.gnu.org/graphics/gfdl-logo-small.png" /></a>
{% elif NUIR_LICENCE %}
<a rel="license" href={{ NUIR_LICENCE["link"] }}><img alt="{{ NUIR_LICENCE['alt'] }}" style="border-width:0" src="{{ NUIR_LICENCE["image"] }}" /></a>
{% endif %}
</div>
<div id="infos-footer">
Thème principal basé sur le travail d'<a href="https://eban.eu.org/">Eban</a>, inspiré en partie par <a href="https://github.com/onur/medius">medius</a>. Utilise le moteur <a href="https://blog.getpelican.com/">Pelican</a>.
</div>
</footer>
</body>
</html>