Fixing web script
h3rald h3rald@h3rald.com
Tue, 24 Dec 2024 13:20:30 +0000
1 files changed,
10 insertions(+),
10 deletions(-)
jump to
M
scripts/web.hex
→
scripts/web.hex
@@ -146,33 +146,33 @@
; Load releases content for changelog "" "releases-content" : ( - releases len 0x1 - "_count" : + releases len "_releases_count" : ; Reverse releases order - (_count 0x0 <=) + (_releases_count 0x0 <) ( - releases _count get "id-release" : + releases _releases_count get "id-release" : ; Update releases-content d-releases "/" id-release cat cat read releases-content swap cat "releases-content" : - _count 0x1 - "_count" : + _count 0x1 - "_releases_count" : ) while - "_count" # + "_releases_count" # "id-release" # ) "process-releases" :: ; Create changelog toc ( "" "changelog-toc" : ;external - releases len 0x1 - "_count" : + releases len "_gct_count" : ; Reverse releases order - (_count 0x0 <=) + (_gct_count 0x0 <) ( - releases _count get ".html" "" replace "id-release" : + releases _gct_count get ".html" "" replace "id-release" : changelog-toc ("<li><a href=\"#v" id-release "\">v" id-release "</a></li>\n") () map "" join cat "changelog-toc" : - _count 0x1 - "_count" : + _gct_count 0x1 - "_gct_count" : ) while "<ul>\n"@@ -180,7 +180,7 @@ changelog-toc
"</ul>\n" cat cat "changelog-toc" : - "_count" # + "_gct_count" # "id-release" # ) "generate-changelog-toc" ::