Remove social and blogroll, add tag list instead. Add articles counter
after tag name
This commit is contained in:
parent
a082b7e0f7
commit
faa6780507
2 changed files with 13 additions and 3 deletions
|
@ -40,10 +40,10 @@
|
|||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<!-- {% for cat, null in categories %}
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
-->
|
||||
|
||||
</ul>
|
||||
<p class="pull-right"><a href="{{ SITEURL }}/archives.html">[archives]</a> <a href="{{ SITEURL }}/tags.html">[tags]</a></p>
|
||||
</div>
|
||||
|
@ -53,6 +53,7 @@
|
|||
<div class="row">
|
||||
<div class="span3">
|
||||
<div class="well sidebar-nav">
|
||||
<!--
|
||||
<h3>Blogroll</h3>
|
||||
<ul>
|
||||
{% for name, link in LINKS %}
|
||||
|
@ -67,6 +68,15 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
-->
|
||||
<div class="tags">
|
||||
<h3>Tags</h3>
|
||||
<ul>
|
||||
{% for tag, articles in tags %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }} ({{ articles | length }})</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span9">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{% block content %}
|
||||
<ul>
|
||||
{% for tag, articles in tags %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }} ({{ articles | length }})</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue