@@ -96,22 +96,30 @@ function _categories_buttons() {
9696 {
9797 printf ' \n#### *Categories*\n\n'
9898 printf ' <div class="cat-grid">\n'
99- CATEGORIES_ALL=$( echo " $CATEGORIES appimages" | tr ' ' ' \n' | sort -u | xargs)
99+ CATEGORIES_ALL=$( echo " $CATEGORIES appimages" | tr ' ' ' \n' | sort | xargs)
100100 for c in $CATEGORIES_ALL ; do
101- printf ' <span class="cat-sep" aria-hidden="true">\xe2\x80\xa2</span>\n'
102- if [ " $c " = appimages ]; then
101+ if [ " $c " = " am-utils" ]; then
102+ if [ " $category_page " = am-utils ]; then
103+ printf ' <a class="cat-pill cat-pill--all" href="%s.html">%s</a>\n' " $c " " $c "
104+ else
105+ printf ' <a class="cat-pill" href="%s.html">%s</a>\n' " $c " " $c "
106+ fi
107+ elif [ " $c " = appimages ]; then
108+ printf ' <span class="cat-sep" aria-hidden="true">\xe2\x80\xa2</span>\n'
103109 if [ " $category_page " = appimages ]; then
104110 printf ' <a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>\n'
105111 else
106112 printf ' <a class="cat-pill" href="appimages.html">AppImages</a>\n'
107113 fi
108114 elif [ " $c " = portable ]; then
115+ printf ' <span class="cat-sep" aria-hidden="true">\xe2\x80\xa2</span>\n'
109116 if [ " $category_page " = portable ]; then
110117 printf ' <a class="cat-pill cat-pill--all" href="portable.html">Portable</a>\n'
111118 else
112119 printf ' <a class="cat-pill" href="portable.html">Portable</a>\n'
113120 fi
114121 else
122+ printf ' <span class="cat-sep" aria-hidden="true">\xe2\x80\xa2</span>\n'
115123 if [ " $category_page " = " $c " ]; then
116124 printf ' <a class="cat-pill cat-pill--all" href="%s.html">%s</a>\n' " $c " " $c "
117125 else
0 commit comments