aboutsummaryrefslogtreecommitdiffstats
path: root/bricabrac/templates/base.html
diff options
context:
space:
mode:
authorBricabraque <bricabrac@openaliasbox.org>2017-02-23 01:16:06 +0100
committerBricabraque <bricabrac@openaliasbox.org>2017-02-23 01:16:06 +0100
commit5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6 (patch)
treed59557b91c843ef5a32b757c6be722033cb2c509 /bricabrac/templates/base.html
parentadaa0c62ac0230ee7a168524554d9176c57a48a4 (diff)
downloadpelican-themes-5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6.tar.gz
Bricabrac: Replace outdated PAGES context with 'pages'
Diffstat (limited to 'bricabrac/templates/base.html')
-rw-r--r--bricabrac/templates/base.html19
1 files changed, 12 insertions, 7 deletions
diff --git a/bricabrac/templates/base.html b/bricabrac/templates/base.html
index 7d61e87..03b0099 100644
--- a/bricabrac/templates/base.html
+++ b/bricabrac/templates/base.html
@@ -22,18 +22,23 @@
<footer>
<nav>
<ul>
-<li><a href="https://blog.getpelican.com/">Pelican</a> & <a href="">brc theme</a></li>
-{% for page in PAGES %}
-<li>:: <a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>{% if not loop.last %} ::{% endif %}</li>
+<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>
+<li> :: <a href="{{ SITEURL }}/categories.html">catégories</a></li>
{% endif %}
{% if tags|length > 1 %}
-<li>:: <a href="{{ SITEURL }}/tags.html">tags</a></li>
+<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 %}
-<li>:: <a href="{{ SITEURL }}/archives.html">archives</a></li>
-<li>:: <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}">atom</a></li>
</ul>
</nav>
</footer>