Skip to content

Commit

Permalink
Исправляет разметку списка ответов на странице участника (#1293)
Browse files Browse the repository at this point in the history
* Исправляет разметку списка

* Исправляет разметку списка для советов

* Упрощает изменения разметки
  • Loading branch information
vitya-ne authored Sep 2, 2024
1 parent 6f600ce commit 2a73321
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/views/person.njk
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,15 @@
{{ articleIndexesMap[category].data.name }}
</h2>
<h3 class="articles-group__sub-title font-theme font-theme--code">{{ practicesPersonRole }}</h3>
{% for practice in practicesIndex[category] | sort %}
<ul class="articles-group__list base-list">
<ul class="articles-group__list base-list">
{% for practice in practicesIndex[category] | sort %}
<li>
<a class="articles-group__link link" href="/{{ category }}/{{ practice.fileSlug }}/#na-praktike">
{{ practice.data.title | descriptionMarkdown | safe }}
</a>
</li>
</ul>
{% endfor %}
{% endfor %}
<ul>
</section>
{% endfor %}
{% endif %}
Expand All @@ -222,17 +222,17 @@
{{ articleIndexesMap[category].data.name }}
</h2>
<h3 class="articles-group__sub-title font-theme font-theme--code">{{ answersPersonRole }}</h3>
{% for articleList in answersInArticles[category] %}
<ul class="articles-group__list base-list">
<ul class="articles-group__list base-list">
{% for articleList in answersInArticles[category] %}
{% for article in articleList | sort %}
<li>
<a class="articles-group__link link" href="/{{ category }}/{{ article.fileSlug }}/#na-sobesedovanii">
{{ article.data.title | descriptionMarkdown | safe }}
</a>
</li>
{% endfor %}
</ul>
{% endfor %}
{% endfor %}
</ul>
</section>
{% endfor %}
{% endif %}
Expand Down

0 comments on commit 2a73321

Please sign in to comment.