aboutsummaryrefslogtreecommitdiffstats
path: root/bricabrac/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'bricabrac/templates/base.html')
-rw-r--r--bricabrac/templates/base.html32
1 files changed, 17 insertions, 15 deletions
diff --git a/bricabrac/templates/base.html b/bricabrac/templates/base.html
index 03b0099..d372b93 100644
--- a/bricabrac/templates/base.html
+++ b/bricabrac/templates/base.html
@@ -3,37 +3,39 @@
<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" />
+<link rel="stylesheet" href="{{ SITEURL }}/../theme/css/{{ CSS_FILE }}" type="text/css" />
+{% if FEED_ALL_ATOM %}
+<link href="./{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
+{% endif %}
+{% if FEED_ALL_RSS %}
+<link href="./{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
+{% endif %}
+<!--<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">
+<!-- SNIP -->
{% 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>
+{% if extra_siteurls %}
+{% for lang, url in extra_siteurls.items() %}
+<li><a href="{{ url }}/">{{ lang | lookup_lang_name }}</a></li>
+{% endfor %}
+{% endif %}
+<!--<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>
+<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>
+<li> :: <a href="{{ SITEURL }}/categories.html">{{ gettext('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>