aboutsummaryrefslogtreecommitdiffstats
path: root/gum/templates/sidebar.html
diff options
context:
space:
mode:
authorNick Rance <nick_rance89@hotmail.com>2013-05-31 04:37:59 +0100
committerJustin Mayer <entroP@gmail.com>2013-06-03 17:56:25 -0700
commit28e4ad3299958fd8e377d6969ba016610ed75544 (patch)
tree24cc0bea1d6c6d90134538003374407f81c1745c /gum/templates/sidebar.html
parent458f7fb64065103fac2ff1af0a076154fa553b40 (diff)
downloadpelican-themes-28e4ad3299958fd8e377d6969ba016610ed75544.tar.gz
Add new theme: Gum
Diffstat (limited to 'gum/templates/sidebar.html')
-rw-r--r--gum/templates/sidebar.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/gum/templates/sidebar.html b/gum/templates/sidebar.html
new file mode 100644
index 0000000..43ed62a
--- /dev/null
+++ b/gum/templates/sidebar.html
@@ -0,0 +1,53 @@
+<div class="three columns">
+
+<h4>Pages</h4>
+
+ <ul>
+ {% for title, link in MENUITEMS %}
+ <li><a href="{{ link }}">{{ title }}</a></li>
+ {% endfor %}
+ {% if DISPLAY_PAGES_ON_MENU %}
+ {% for p in PAGES %}
+ <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
+ {% endfor %}
+ {% else %}
+ {% if DISPLAY_CATEGORIES_ON_MENU %}
+ {% for cat, null in categories %}
+ <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
+ {% endfor %}
+ {% endif %}
+ {% endif %}
+ </ul>
+
+<h4>Categories</h4>
+{% if categories %}
+<ul>
+ {% for cat, null in categories %}
+ <li><a href="{{ SITEURL }}/{{ cat.url|e }}">{{ cat }}</a></li>
+ {% endfor %}
+</ul>
+{% endif %}
+
+
+<h4>Tags</h4>
+{% if tags %}
+ <ul>
+ {% for tag in tag_cloud %}
+ <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0|string|replace(" ", "-" )|lower }}.html">{{ tag.0 }}</a></li>
+ {% endfor %}
+</ul>
+{% endif %}
+
+
+{% if SOCIAL %}
+<nav class="widget">
+ <h4>Social</h4>
+ <ul>
+ {% for url, name in SOCIAL %}
+ <li><a href="{{ url|e }}">{{ name }}</a></li>
+ {% endfor %}
+ </ul>
+</nav>
+{% endif %}
+
+</div> \ No newline at end of file