make sidebar accept six items

pull/19393/head
Martin Holst Swende 6 years ago
parent cd13af021c
commit 87436c3d8a
No known key found for this signature in database
GPG Key ID: 683B438C05A5DDF0
  1. 2
      _layouts/sidebar.html

@ -8,7 +8,7 @@ layout: default
{% for coll in collections %} {% for coll in collections %}
{% if coll.sidebar_index %} {% if coll.sidebar_index %}
{% assign count = coll.docs | size %} {% assign count = coll.docs | size %}
{% if count <= 5 %} {% if count <= 6 %}
<div class="list-group"> <div class="list-group">
<a class="list-group-item active">{{ coll.caption }}</a> <a class="list-group-item active">{{ coll.caption }}</a>
{% for doc in coll.docs %} {% for doc in coll.docs %}

Loading…
Cancel
Save