summaryrefslogtreecommitdiffstats
path: root/themes/lv2/templates/includes/sidebar.html
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-23 00:29:11 -0500
committerDavid Robillard <d@drobilla.net>2014-11-23 00:29:11 -0500
commit9839a49f36ee0b637b08b76e8ed5560409c9db3b (patch)
treea232b3860ab733b2fe9a6fd4555d4697299ce9a8 /themes/lv2/templates/includes/sidebar.html
parent4e86fd59522c70b3654e5920a60ce748640f5a2c (diff)
downloadlv2site-9839a49f36ee0b637b08b76e8ed5560409c9db3b.tar.xz
Simplify theme.
Diffstat (limited to 'themes/lv2/templates/includes/sidebar.html')
-rw-r--r--themes/lv2/templates/includes/sidebar.html104
1 files changed, 0 insertions, 104 deletions
diff --git a/themes/lv2/templates/includes/sidebar.html b/themes/lv2/templates/includes/sidebar.html
deleted file mode 100644
index 35811f6..0000000
--- a/themes/lv2/templates/includes/sidebar.html
+++ /dev/null
@@ -1,104 +0,0 @@
-{% if DISPLAY_TAGS_ON_SIDEBAR is not defined %}
- {% set DISPLAY_TAGS_ON_SIDEBAR = True %}
-{% endif %}
-
-<aside>
- <section>
- <ul class="list-group list-group-flush">
- {% if SOCIAL %}
- <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Social</span></h4>
- <ul class="list-group" id="social">
- {% for name, link in SOCIAL %}
- {% set name_sanitized = name|lower|replace('+','-plus')|replace(' ','-') %}
- {% if name_sanitized in ['flickr', 'spotify', 'stack-overflow'] %}
- {% set iconattributes = '"fa fa-' ~ name_sanitized ~ ' fa-lg"' %}
- {% else %}
- {% set iconattributes = '"fa fa-' ~ name_sanitized ~ '-square fa-lg"' %}
- {% endif %}
- <li class="list-group-item"><a href="{{ link }}"><i class={{ iconattributes }}></i> {{ name }}</a></li>
- {% endfor %}
- </ul>
- </li>
- {% endif %}
-
- {% if DISPLAY_RECENT_POSTS_ON_SIDEBAR %}
- {% if RECENT_POST_COUNT is not defined %}
- {% set RECENT_POST_COUNT = 5 %}
- {% endif %}
- <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Recent Posts</span></h4>
- <ul class="list-group" id="recentposts">
- {% for article in articles[:RECENT_POST_COUNT] %}
- <li class="list-group-item">
- <a href="{{ SITEURL }}/{{ article.url }}">
- {{ article.title }}
- </a>
- </li>
- {% endfor %}
- </ul>
- </li>
- {% endif %}
-
- {% if DISPLAY_CATEGORIES_ON_SIDEBAR %}
- <li class="list-group-item"><a href="{{ SITEURL }}/{{ CATEGORIES_URL }}"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Categories</span></h4></a>
- <ul class="list-group" id="categories">
- {% for cat, null in categories %}
- <li class="list-group-item">
- <a href="{{ SITEURL }}/{{ cat.url }}">
- <i class="fa fa-folder-open fa-lg"></i> {{ cat }}
- </a>
- </li>
- {% endfor %}
- </ul>
- </li>
- {% endif %}
-
- {% if DISPLAY_TAGS_ON_SIDEBAR %}
- {% if DISPLAY_TAGS_INLINE %}
- {% set tags = tag_cloud | sort(attribute='0') %}
- {% else %}
- {% set tags = tag_cloud | sort(attribute='1') %}
- {% endif %}
- <li class="list-group-item"><a href="{{ SITEURL }}/{{ TAGS_URL }}"><h4><i class="fa fa-tags fa-lg"></i><span class="icon-label">Tags</span></h4></a>
- <ul class="list-group {% if DISPLAY_TAGS_INLINE %}list-inline tagcloud{% endif %}" id="tags">
- {% for tag in tags %}
- <li class="list-group-item tag-{{ tag.1 }}">
- <a href="{{ SITEURL }}/{{ tag.0.url }}">
- {{ tag.0 }}
- </a>
- </li>
- {% endfor %}
- </ul>
- </li>
- {% endif %}
-
- {% if DISPLAY_SERIES_ON_SIDEBAR %}
- {% if article %}
- {% if article.series %}
- <li class="list-group-item"><h4><i class="fa fa-tags fa-list-ul"></i><span class="icon-label">Series</span></h4>
- <ul class="list-group">
- <li class="list-group-item">
- {% if article.series.previous %}
- <h5></i> Previous article</h5>
- <a href="{{ SITEURL }}/{{ article.series.previous.url }}">{{ article.series.previous.title }}</a>
- {% endif %}
- </li>
- <li class="list-group-item">
- {% if article.series.next %}
- <h5>Next article</h5>
- <a href="{{ SITEURL }}/{{ article.series.next.url }}">{{ article.series.next.title }}</a>
- {% endif %}
- </li>
- </ul>
- </li>
- {% endif%}
- {% endif %}
- {% endif %}
-
- {% include 'includes/github.html' %}
- {% include 'includes/twitter_timeline.html' %}
- {% include 'includes/links.html' %}
-
- </ul>
- </section>
-
-</aside>