Skip to content

Commit

Permalink
fix up style of categories list
Browse files Browse the repository at this point in the history
Signed-off-by: Zhangjin Wu <[email protected]>
  • Loading branch information
lzufalcon committed Oct 24, 2024
1 parent 7c7c9b8 commit f093854
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _includes/widgets/categories_list
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@
<ul id="ctg-{{ forloop0.index }}-cld-{{ forloop1.index }}-cld-{{ forloop.index }}-cld" class="nav">
{% for gg in g.categories %}
<li id="ctg-{{ forloop0.index }}-cld-{{ forloop1.index }}-cld-{{ forloop2.index }}-cld-{{ forloop.index }}">
{% if gg.categories %}
<i class="icon-fixed-width icon-{{ icon_close }}" onclick="click_toc('#ctg-{{ forloop0.index }}-cld-{{ forloop1.index }}-cld-{{ forloop2.index }}-cld-{{ forloop.index }}', '{{ icon_open }}', '{{ icon_close }}')"></i>
{% else %}
<i class="icon-fixed-width icon-{{ icon_close }} {{ not_collapsable }}"></i>
{% endif %}

{% assign name = gg.name %}
{% assign downcase_name = name | downcase %}
Expand Down

0 comments on commit f093854

Please sign in to comment.