improve top link for year level index.html pages

The top link in the topnav bar for or year level `index.html` pages
now links to `years.html` instead of the very top level repo/web
`index.html` page.

Changed `bin/subst.year-navbar.awk` VERSION from "1.1 2024-03-02"
to "1.2 2024-04-04".

Make `make sort_gitignore` less verbose.

Changed `bin/sort.gitignore.sh` VERSION from "1.1.4 2024-03-28"
to "1.1.5 2024-04-04".

Performed `make www` to implement the above and test on macOS.
This commit is contained in:
Landon Curt Noll committed 2024-04-04 15:29:30 -07:00
1 parent b66c79254a
commit 45c6ddde5c
29 files changed
+36 -36

No files matched your search

+7 -7
View File
@@ -99,7 +99,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.1.4 2024-03-28"
export VERSION="1.1.5 2024-04-04"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -191,8 +191,8 @@ done
# parse the command line arguments
#
if [[ $V_FLAG -ge 1 ]]; then
echo "$0: debug[1]: debug level: $V_FLAG" 1>&2
if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: debug level: $V_FLAG" 1>&2
fi
#
shift $(( OPTIND - 1 ));
@@ -421,8 +421,8 @@ fi
# convert temporary markdown file into HTML
#
if [[ -z $NOOP ]]; then
if [[ $V_FLAG -ge 1 ]]; then
echo "$0: debug[1]: about to execute: $SGI_TOOL < $GITIGNORE > $TMP_FILE" 1>&2
if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: about to execute: $SGI_TOOL < $GITIGNORE > $TMP_FILE" 1>&2
fi
"$SGI_TOOL" < "$GITIGNORE" > "$TMP_FILE"
status="$?"
@@ -431,8 +431,8 @@ if [[ -z $NOOP ]]; then
exit 12
fi
if cmp -s "$TMP_FILE" "$GITIGNORE"; then
if [[ $V_FLAG -ge 1 ]]; then
echo "$0: debug[1]: $GITIGNORE is already sorted" 1>&2
if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: $GITIGNORE is already sorted" 1>&2
fi
else
if [[ $V_FLAG -ge 1 ]]; then
+2 -2
View File
@@ -21,7 +21,7 @@ BEGIN {
# setup
#
VERSION="1.1 2024-03-02"
VERSION="1.2 2024-04-04"
process_next_line = 0; # 1 ==> we found our year_arg, now process the next line
found_year_arg = 0; # 1 ==> we found our year_arg
prev_line = ""; # the previous YYYY line
@@ -84,7 +84,7 @@ BEGIN {
#
# report up link top year index.html
print "-s";
print "UP_LINK=../index.html";
print "UP_LINK=../years.html";
print "-s";
print "UP_TEXT=top";
process_next_line = 1;