diff options
Diffstat (limited to 'bricabrac/templates/base.html')
-rw-r--r-- | bricabrac/templates/base.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/bricabrac/templates/base.html b/bricabrac/templates/base.html new file mode 100644 index 0000000..03b0099 --- /dev/null +++ b/bricabrac/templates/base.html @@ -0,0 +1,47 @@ +<!DOCTYPE html> +<html lang="fr"> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" /> +<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> +<link rel="icon" type="image/png" href="{{ SITEURL }}/theme/fav.png" /> +<title>{% block title %}{{ SITENAME }} {%endblock%}</title> +<!--[if IE]> +<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> +<!--[if lte IE 7]> +<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/> +<script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]--> +<!--[if lt IE 7]> +<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]--> +</head> +<body> +<div id="conteneur"> +{% block content %} +{% endblock %} +<footer> +<nav> +<ul> +<li><a href="https://blog.getpelican.com/">Pelican</a> & <a href="https://github.com/Bricabraque/bricabrac-pelican-theme">bricabrac</a></li> +{% for page in pages %} +<li> :: <a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>{% if not loop.last %}{% endif %}</li> +{% endfor %} +<li> :: <a href="{{ SITEURL }}/archives.html">archives</a></li> +{% if categories|length > 1 %} +<li> :: <a href="{{ SITEURL }}/categories.html">catégories</a></li> +{% endif %} +{% if tags|length > 1 %} +<li> :: <a href="{{ SITEURL }}/tags.html">tags</a></li> +{% endif %} +<li> :: <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}">atom</a></li> +{% if SOCIAL %} +{% for name, link in SOCIAL %} +<li> :: <a href="{{ link }}">{{ name }}</a></li> +{% endfor %} +{% endif %} +</ul> +</nav> +</footer> +</div> +</body> +</html> |