mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: enhanced category selector
This commit is contained in:
1 parent
74f4e44f0f
commit
6567c739b6
12 files changed
+45
-54
No files matched your search
@@ -21,7 +21,7 @@
|
||||
{%- if pdoc.tag|length > 0 %}
|
||||
{%- if not inline %}<ul class="problem__tags">{% endif -%}
|
||||
{%- for tag in pdoc['tag'] %}
|
||||
<li class="problem__tag"><a class="problem__tag-link" href="{{ url('problem_category', category=tag) }}">{{ tag }}</a></li>
|
||||
<li class="problem__tag"><a class="problem__tag-link" href="{{ url('problem_main', query={q:'category:'+tag}) }}">{{ tag }}</a></li>
|
||||
{%- endfor -%}
|
||||
{%- if not inline %}</ul>{% endif -%}
|
||||
{%- else -%}
|
||||
|
||||
Reference in new issue
Block a user