nuir/templates/base.html

58 lines
3.7 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="GPL3" src="https://www.gnu.org/graphics/gplv3-or-later-sm.png" /></a>
</div>
<div id="logo-vim">
<a href="https://www.vim.org"><img alt="Use Vim" src="https://www.vim.org/images/vi_improved.gif" /></a>
</div>
<div id="infos-footer">
Thème principal fait par <a href="https://eban.bzh">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>
<div id="licence-art">
{% if NUIR_LICENCE == "CCBY" %}
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" 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="Creative Commons License" 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="Creative Commons License" 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="Creative Commons License" 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="Creative Commons License" 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="Creative Commons License" 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="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>
</footer>
</body>
</html>