blog/themes/dark/templates/sidebar.html

58 lines
1.6 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
2020-04-12 01:44:19 +00:00
{% if HOSTS %}
2020-04-12 08:58:45 +00:00
<li class="nav-header"><h4><i class="fas fa-globe"></i> hosts</h4></li>
2020-04-12 01:44:19 +00:00
{% for name, link in HOSTS %}
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
2020-04-12 01:44:19 +00:00
{% if SITES %}
2020-04-12 08:50:02 +00:00
<li class="nav-header"><h4><i class="fas fa-server"></i> sites</h4></li>
2020-04-12 01:44:19 +00:00
{% for name, link in SITES %}
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-12 09:29:06 +00:00
<li class="nav-header"><h4><i class="fas fa-rss"></i> feeds</h4></li>
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">atom</a></li>
2020-04-11 09:23:56 +00:00
{% if FEED_RSS %}
2020-04-12 09:29:06 +00:00
<li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">rss</a></li>
2020-04-11 09:23:56 +00:00
{% endif %}
2020-04-12 09:29:06 +00:00
2020-04-12 09:40:01 +00:00
{% if GIT %}
<li class="nav-header"><h4><i class="fab fa-git-alt"></i> git</h4></li>
{% for name, link in GIT %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
{% endif %}
2020-04-12 09:29:06 +00:00
{% if SOCIAL %}
<li class="nav-header"><h4><i class="fas fa-user-plus"></i> social</h4></li>
2020-04-11 09:23:56 +00:00
{% for name, link in SOCIAL %}
2020-04-12 09:59:22 +00:00
<li><a href="{{ link }}">{{ name }}</a></li>
2020-04-11 09:23:56 +00:00
{% endfor %}
{% endif %}
2020-04-12 08:53:24 +00:00
<li class="nav-header"><h4><i class="fas fa-folder-open"></i> categories</h4></li>
2020-04-11 09:23:56 +00:00
{% for cat, null in categories %}
2020-04-12 08:53:24 +00:00
<li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
2020-04-11 09:23:56 +00:00
{% endfor %}
2020-04-12 08:56:12 +00:00
<li class="nav-header"><h4><i class="fas fa-tags"></i> tags</h4></li>
2020-04-11 09:23:56 +00:00
{% for tag in tag_cloud %}
<li class="tag-{{ tag.1 }}">
<a href="{{ SITEURL }}/{{ tag.0.url }}">
2020-04-12 08:56:12 +00:00
{{ tag.0 }}
2020-04-11 09:23:56 +00:00
</a>
</li>
{% endfor %}
{% include 'twitter_profile.html' %}
{% include 'search_sidebar.html' %}
{% if SIDEBAR_CUSTOM %}
{{ SIDEBAR_CUSTOM }}
{% endif %}
</ul>