You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
745 B
HTML
18 lines
745 B
HTML
<ul class="group-list" data-widget-cf-container>
|
|
{%- for category, sub_categories in model.system.get('problem.categories')|parseYaml -%}
|
|
<li class="group-list__item">
|
|
<h2 class="section__title">
|
|
<a href="{{ url('problem_main', query={q:'category:'+category}) }}" data-category="{{ category }}">{{ category }}</a>
|
|
</h2>
|
|
{% if sub_categories | length > 0 %}
|
|
<ol class="chip-list">
|
|
{%- for sub_category in sub_categories -%}
|
|
<li class="chip-list__item">
|
|
<a class="typo-a" href="{{ url('problem_main', query={q:'category:'+sub_category}) }}">{{ sub_category }}</a>
|
|
</li>
|
|
{%- endfor -%}
|
|
</ol>
|
|
{% endif %}
|
|
</li>
|
|
{%- endfor -%}
|
|
</ul> |