1
0
mirror of synced 2026-01-08 21:02:10 -05:00

Merge pull request #6547 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2021-05-19 00:28:35 +10:00
committed by GitHub
4 changed files with 24 additions and 4 deletions

View File

@@ -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">
&bull; {{ article.childArticles | obj_size }} articles
</small>
{% endcomment %}
</li>
{% endfor %}
{% assign numArticles = maptopic.childArticles | obj_size %}

View File

@@ -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">
&bull; {{ 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>

View File

@@ -32,3 +32,9 @@
{% endfor %}
</div>
</div>
{% comment %}
<small class="color-text-secondary d-inline-block">
&bull; {{ article.childArticles | obj_size }} articles
</small>
{% endcomment %}

View File

@@ -44,3 +44,9 @@
{% endfor %}
</div>
</div>
{% comment %}
<small class="color-text-secondary d-inline-block">
&bull; {{ article.childArticles | obj_size }} articles
</small>
{% endcomment %}