@@ -16,8 +16,13 @@
|
||||
{% assign article = xarticle[1] %}
|
||||
<li class="mb-3 {% if forloop.index > maxArticles %}d-none{% endif %}">
|
||||
<a href="{{ article.href }}">
|
||||
{{ article.title }}
|
||||
</a>
|
||||
{{ article.title }}<!--
|
||||
--></a>
|
||||
{% comment %}
|
||||
<small class="color-text-secondary d-inline-block">
|
||||
• {{ article.childArticles | obj_size }} articles
|
||||
</small>
|
||||
{% endcomment %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% assign numArticles = maptopic.childArticles | obj_size %}
|
||||
|
||||
@@ -17,8 +17,11 @@
|
||||
{% assign numArticles = category[1].maptopics | obj_size %}
|
||||
<li class="mb-3 {% if forloop.index > maxArticles %}d-none{% endif %}">
|
||||
<a href="{{ maptopic[1].href }}">
|
||||
{{ maptopic[1].title }}
|
||||
</a>
|
||||
{{ maptopic[1].title }}<!--
|
||||
--></a>
|
||||
<small class="color-text-secondary d-inline-block">
|
||||
• {{ maptopic[1].articles | obj_size }} articles
|
||||
</small>
|
||||
</li>
|
||||
{% if numArticles > maxArticles %}
|
||||
<button class="js-all-articles-show-more btn-link Link--secondary">Show {{ numArticles | minus: maxArticles }} more {% octicon "chevron-up" class="v-align-text-bottom" %}</button>
|
||||
|
||||
@@ -32,3 +32,9 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% comment %}
|
||||
<small class="color-text-secondary d-inline-block">
|
||||
• {{ article.childArticles | obj_size }} articles
|
||||
</small>
|
||||
{% endcomment %}
|
||||
|
||||
@@ -44,3 +44,9 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% comment %}
|
||||
<small class="color-text-secondary d-inline-block">
|
||||
• {{ article.childArticles | obj_size }} articles
|
||||
</small>
|
||||
{% endcomment %}
|
||||
|
||||
Reference in New Issue
Block a user