blog/themes/dark/templates/sidebar.html

53 lines
1.5 KiB
HTML
Raw Normal View History

2020-04-11 09:23:56 +00:00
<ul class="nav nav-list">
2020-04-11 23:58:16 +00:00
{% if HOME %}
2020-04-12 00:39:45 +00:00
<li class="nav-header"><h4><i class="icon-home"></i>home</h4></li>
2020-04-11 23:58:16 +00:00
{% for name, link in HOME %}
2020-04-12 00:39:45 +00:00
<li><a href="{{ link }}">{{ name }}</a></li>
2020-04-11 09:23:56 +00:00
{% endfor %}
{% endif %}
2020-04-11 23:58:16 +00:00
{% if HOSTS %}
<li class="nav-header"><h4><i class="icon-external-link"></i>hosts</h4></li>
{% for name, link in HOSTS %}
2020-04-12 00:39:45 +00:00
<li><a href="{{ link }}">{{ name }}</a></li>
2020-04-11 23:58:16 +00:00
{% endfor %}
{% endif %}
2020-04-11 09:23:56 +00:00
{% if SOCIAL %}
2020-04-12 00:39:45 +00:00
<li class="nav-header"><h4><i class="icon-user"></i>social</h4></li>
2020-04-11 09:23:56 +00:00
<li><a href="{{ SITEURL }}/{{ FEED }}" 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"><h4><i class="icon-tags icon-large"></i>Tags</h4></li>
{% 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 %}
{% include 'twitter_profile.html' %}
{% include 'search_sidebar.html' %}
{% if SIDEBAR_CUSTOM %}
{{ SIDEBAR_CUSTOM }}
{% endif %}
</ul>