aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random/templates/includes/sidebar.html
diff options
context:
space:
mode:
authorm-r-r <raybaudroigm@gmail.com>2012-04-24 19:34:04 +0200
committerm-r-r <raybaudroigm@gmail.com>2012-04-24 19:35:37 +0200
commitdb59bf52aa9f7d2f5cbfb357e13f07e504e03aec (patch)
tree138ee4eebe85f23e796c150f8fc1c29572e145a0 /dev-random/templates/includes/sidebar.html
parentc551764f59df02bf7a382b262449f5fcfae4ac3b (diff)
downloadpelican-themes-db59bf52aa9f7d2f5cbfb357e13f07e504e03aec.tar.gz
New layout
Diffstat (limited to 'dev-random/templates/includes/sidebar.html')
-rw-r--r--dev-random/templates/includes/sidebar.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-random/templates/includes/sidebar.html b/dev-random/templates/includes/sidebar.html
new file mode 100644
index 0000000..3c42ef9
--- /dev/null
+++ b/dev-random/templates/includes/sidebar.html
@@ -0,0 +1,46 @@
+ <aside class="sidebar">
+ <nav class="widget">
+ <h3>Site</h3>
+ <ul>
+ <li><a href="{{ SITEURL }}">Accueil</a></li>
+ <li><a href="{{ SITEURL }}/archives.html">Archives</a></li>
+ <li><a href="{{ SITEURL }}/tags.html">Mots-clés</a></li>
+ {% if MENUITEMS %}
+ {% for name, uri in MENUITEMS %}
+ <li><a href="{{ uri|format(SITEURL)|e}}">{{ name }}</a></li>
+ {% endfor %}
+ {% endif %}
+ {% if DISPLAY_PAGES_ON_MENU %}
+ {% for p in PAGES %}
+ <li><a href="{{ SITEURL}}/{{ p.url|e }}"{% if p == page %} class="active"{% endif %}>{{ p.title }}</a></li>
+ {% endfor %}
+ {% endif %}
+ </ul>
+ </nav>
+
+ {% if categories %}
+ <nav class="widget">
+ <h3>Catégories</h3>
+ <ul>
+ {% for cat, null in categories %}
+ <li><a href="{{ SITEURL }}/{{ cat.url|e }}">{{ cat }}</a></li>
+ {% endfor %}
+ </ul>
+ </nav>
+ {% endif %}
+
+ {% if SOCIAL %}
+ <nav class="widget">
+ <h3>Social</h3>
+ <ul>
+ {% for url, name in SOCIAL %}
+ <li><a href="{{ url|e }}">{{ name }}</a></li>
+ {% endfor %}
+ <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Flux Atom</a></li>
+ {% if FEED_RSS %}
+ <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">Flux RSS</a></li>
+ {% endif %}
+ </ul>
+ </nav>
+ {% endif %}
+ </aside>