aboutsummaryrefslogtreecommitdiffstats
path: root/bricabrac
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
parentadaa0c62ac0230ee7a168524554d9176c57a48a4 (diff)
downloadpelican-themes-5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6.tar.gz
Bricabrac: Replace outdated PAGES context with 'pages'
Diffstat (limited to 'bricabrac')
-rw-r--r--bricabrac/README.md6
-rw-r--r--bricabrac/templates/base.html19
2 files changed, 17 insertions, 8 deletions
diff --git a/bricabrac/README.md b/bricabrac/README.md
index 349ef47..d59ccfc 100644
--- a/bricabrac/README.md
+++ b/bricabrac/README.md
@@ -10,7 +10,11 @@ Note: templates include hard-coded French words, you must edit the .html files i
To use this theme, just extract the archive and copy the bricabrac theme folder to the `themes` folder in your Pelican site path. Then add the line below to your pelicanconf.py :
THEME = 'themes/bricabrac-pelican-theme'
-
+
+## Live demo
+
+You can see a live demo of this theme on my personal web-log : [bricabraque.github.com](https://bricabraque.github.io).
+
## Screenshots
![Home page](index.png)
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>