diff options
-rw-r--r-- | bricabrac/README.md | 6 | ||||
-rw-r--r-- | bricabrac/templates/base.html | 19 |
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> |