aboutsummaryrefslogtreecommitdiffstats
path: root/new-bootstrap2/templates/sidebar.html
diff options
context:
space:
mode:
authorWladislaw Merezhko <infinitylx@infinitylx.org.ua>2012-12-08 18:03:58 +0200
committerWladislaw Merezhko <infinitylx@infinitylx.org.ua>2012-12-08 18:03:58 +0200
commit10b0b8cc08487d4fa6e138b0b55a6263a62d2840 (patch)
tree7006e22f089f9e5769d4ecdede30fd7dfd38bba5 /new-bootstrap2/templates/sidebar.html
parent1a90d22b3445fa4eadbcc25ab11e9adaa0ca3875 (diff)
downloadpelican-themes-10b0b8cc08487d4fa6e138b0b55a6263a62d2840.tar.gz
Create updated theme based on bootstrap2
Diffstat (limited to 'new-bootstrap2/templates/sidebar.html')
-rw-r--r--new-bootstrap2/templates/sidebar.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/new-bootstrap2/templates/sidebar.html b/new-bootstrap2/templates/sidebar.html
new file mode 100644
index 0000000..e4ffcdd
--- /dev/null
+++ b/new-bootstrap2/templates/sidebar.html
@@ -0,0 +1,55 @@
+<ul class="nav nav-list">
+{% if LINKS %}
+<li class="nav-header"><h4><i class="icon-external-link"></i>blogroll</h4></li>
+{% for name, link in LINKS %}
+ <li><div><i class="icon-external-link"></i><a href="{{ link }}">{{ name }}</a></div></li>
+{% endfor %}
+{% endif %}
+{% if SOCIAL %}
+<li class="nav-header"><h4><i class="icon-home icon-large"></i> social</h4></li>
+<li><a href="{{ SITEURL }}/{{ FEED_ATOM }}" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li>
+{% if FEED_RSS %}
+<li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate"><i class="icon-bookmark icon-large"></i>rss feed</a></li>
+{% endif %}
+{% for name, link in SOCIAL %}
+ <li><a href="{{ link }}"><i class="icon-{{ name }}-sign icon-large"></i>{{ name }}</a></li>
+{% endfor %}
+{% endif %}
+
+<li class="nav-header"><h4><i class="icon-folder-close icon-large"></i>Categories</h4></li>
+{% for cat, null in categories %}
+<li>
+<a href="{{ SITEURL }}/{{ cat.url }}">
+ <i class="icon-folder-open icon-large"></i>{{ cat }}
+</a>
+</li>
+{% endfor %}
+
+<li class="nav-header"><a href="{{ SITEURL }}/tags.html"><h4><i class="icon-tags icon-large"></i>Tags</h4></a></li>
+{# <li>
+<div id="tags">
+ <ul>#}
+{% for tag in tag_cloud %}
+ <li class="tag-{{ tag.1 }}">
+ <a href="{{ SITEURL }}/{{ tag.0.url }}">
+ <i class="icon-tag icon-large"></i>{{ tag.0 }}
+ </a>
+ </li>
+{% endfor %}
+{# </ul>
+</div>
+<div id="myCanvasContainer">
+ <canvas width="230" height="230" id="myCanvas">
+ <p>Anything in here will be replaced on browsers that support the canvas element</p>
+ </canvas>
+</div>
+</li>#}
+
+{% include 'twitter_profile.html' %}
+{% include 'shortmail.html' %}
+{% include 'search_sidebar.html' %}
+
+{% if SIDEBAR_CUSTOM %}
+ {{ SIDEBAR_CUSTOM }}
+{% endif %}
+</ul>