Skip to content

Commit 7c3aa56

Browse files
committed
Sync files from source repository
1 parent 70b01bf commit 7c3aa56

26 files changed

Lines changed: 62 additions & 50 deletions

am-utils.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
21-
<a class="cat-pill" href="am-utils.html">am-utils</a>
21+
<a class="cat-pill cat-pill--all" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
2323
<a class="cat-pill" href="android.html">android</a>
2424
<span class="cat-sep" aria-hidden="true">•</span>

am2pla-site

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,18 @@ function _categories_buttons() {
9393
{
9494
printf '\n#### *Categories*\n\n'
9595
printf '<div class="cat-grid">\n'
96-
printf ' <a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>\n'
96+
if [ "$category_page" = appimages ]; then
97+
printf ' <a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>\n'
98+
else
99+
printf ' <a class="cat-pill" href="appimages.html">AppImages</a>\n'
100+
fi
97101
for c in $CATEGORIES; do
98102
printf ' <span class="cat-sep" aria-hidden="true">\xe2\x80\xa2</span>\n'
99-
printf ' <a class="cat-pill" href="%s.html">%s</a>\n' "$c" "$c"
103+
if [ "$category_page" = "$c" ]; then
104+
printf ' <a class="cat-pill cat-pill--all" href="%s.html">%s</a>\n' "$c" "$c"
105+
else
106+
printf ' <a class="cat-pill" href="%s.html">%s</a>\n' "$c" "$c"
107+
fi
100108
done
101109
printf '</div>\n\n'
102110
}
@@ -176,6 +184,7 @@ function _applications_list_header {
176184
and [AppMan](https://github.com/ivan-hc/AppMan) for the x86_64 architecture, plus **$ITEMS_NUMBER** more entries and items to help you install apps more easily." >> apps.md
177185
echo "" >> apps.md
178186
ADD_SEARCH_BAR apps.md
187+
category_page=""
179188
_categories_buttons >> apps.md
180189
_table_head >> apps.md
181190
}
@@ -218,6 +227,7 @@ function _appimages_list_header {
218227
and [AppMan](https://github.com/ivan-hc/AppMan) for the x86_64 architecture." >> appimages.md
219228
echo "" >> appimages.md
220229
ADD_SEARCH_BAR appimages.md
230+
category_page="appimages"
221231
_categories_buttons >> appimages.md
222232
_table_head >> appimages.md
223233
}
@@ -620,6 +630,7 @@ function _compile_the_homepage() {
620630
INDEX_HEAD
621631
echo "#### *This site lists **$APPS_NUMBER** unique apps (**$APPIMAGES_NUMBER** Appimage packages and **$ST_APPS_NUMBER** standalone/portable programs), plus **$ITEMS_NUMBER** items.*" >> ./index.md
622632
INDEX_HEAD_TWO
633+
category_page=""
623634
_categories_buttons >> ./index.md
624635
INDEX_BODY_FULL
625636
}
@@ -637,6 +648,7 @@ function _category_list_header {
637648
and [AppMan](https://github.com/ivan-hc/AppMan) for the x86_64 architecture." >> "$category".md
638649
echo "" >> "$category".md
639650
ADD_SEARCH_BAR "$category".md
651+
category_page="$category"
640652
_categories_buttons >> "$category".md
641653
_table_head >> "$category".md
642654
}

android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
23-
<a class="cat-pill" href="android.html">android</a>
23+
<a class="cat-pill cat-pill--all" href="android.html">android</a>
2424
<span class="cat-sep" aria-hidden="true">•</span>
2525
<a class="cat-pill" href="audio.html">audio</a>
2626
<span class="cat-sep" aria-hidden="true">•</span>

apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>

audio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
2323
<a class="cat-pill" href="android.html">android</a>
2424
<span class="cat-sep" aria-hidden="true">•</span>
25-
<a class="cat-pill" href="audio.html">audio</a>
25+
<a class="cat-pill cat-pill--all" href="audio.html">audio</a>
2626
<span class="cat-sep" aria-hidden="true">•</span>
2727
<a class="cat-pill" href="comic.html">comic</a>
2828
<span class="cat-sep" aria-hidden="true">•</span>

comic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
2323
<a class="cat-pill" href="android.html">android</a>
2424
<span class="cat-sep" aria-hidden="true">•</span>
2525
<a class="cat-pill" href="audio.html">audio</a>
2626
<span class="cat-sep" aria-hidden="true">•</span>
27-
<a class="cat-pill" href="comic.html">comic</a>
27+
<a class="cat-pill cat-pill--all" href="comic.html">comic</a>
2828
<span class="cat-sep" aria-hidden="true">•</span>
2929
<a class="cat-pill" href="command-line.html">command-line</a>
3030
<span class="cat-sep" aria-hidden="true">•</span>

command-line.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
@@ -26,7 +26,7 @@
2626
<span class="cat-sep" aria-hidden="true">•</span>
2727
<a class="cat-pill" href="comic.html">comic</a>
2828
<span class="cat-sep" aria-hidden="true">•</span>
29-
<a class="cat-pill" href="command-line.html">command-line</a>
29+
<a class="cat-pill cat-pill--all" href="command-line.html">command-line</a>
3030
<span class="cat-sep" aria-hidden="true">•</span>
3131
<a class="cat-pill" href="communication.html">communication</a>
3232
<span class="cat-sep" aria-hidden="true">•</span>

communication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
@@ -28,7 +28,7 @@
2828
<span class="cat-sep" aria-hidden="true">•</span>
2929
<a class="cat-pill" href="command-line.html">command-line</a>
3030
<span class="cat-sep" aria-hidden="true">•</span>
31-
<a class="cat-pill" href="communication.html">communication</a>
31+
<a class="cat-pill cat-pill--all" href="communication.html">communication</a>
3232
<span class="cat-sep" aria-hidden="true">•</span>
3333
<a class="cat-pill" href="disk.html">disk</a>
3434
<span class="cat-sep" aria-hidden="true">•</span>

disk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
@@ -30,7 +30,7 @@
3030
<span class="cat-sep" aria-hidden="true">•</span>
3131
<a class="cat-pill" href="communication.html">communication</a>
3232
<span class="cat-sep" aria-hidden="true">•</span>
33-
<a class="cat-pill" href="disk.html">disk</a>
33+
<a class="cat-pill cat-pill--all" href="disk.html">disk</a>
3434
<span class="cat-sep" aria-hidden="true">•</span>
3535
<a class="cat-pill" href="education.html">education</a>
3636
<span class="cat-sep" aria-hidden="true">•</span>

education.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#### *Categories*
1717

1818
<div class="cat-grid">
19-
<a class="cat-pill cat-pill--all" href="appimages.html">AppImages</a>
19+
<a class="cat-pill" href="appimages.html">AppImages</a>
2020
<span class="cat-sep" aria-hidden="true">•</span>
2121
<a class="cat-pill" href="am-utils.html">am-utils</a>
2222
<span class="cat-sep" aria-hidden="true">•</span>
@@ -32,7 +32,7 @@
3232
<span class="cat-sep" aria-hidden="true">•</span>
3333
<a class="cat-pill" href="disk.html">disk</a>
3434
<span class="cat-sep" aria-hidden="true">•</span>
35-
<a class="cat-pill" href="education.html">education</a>
35+
<a class="cat-pill cat-pill--all" href="education.html">education</a>
3636
<span class="cat-sep" aria-hidden="true">•</span>
3737
<a class="cat-pill" href="file-manager.html">file-manager</a>
3838
<span class="cat-sep" aria-hidden="true">•</span>

0 commit comments

Comments
 (0)