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:
1 parent
b66c79254a
commit
45c6ddde5c
29 files changed
+36
-36
No files matched your search
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left Disabled" href="#">No prev</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1985/index.html">1985 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1984/index.html">← 1984</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1986/index.html">1986 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1985/index.html">← 1985</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1987/index.html">1987 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1986/index.html">← 1986</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1988/index.html">1988 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1987/index.html">← 1987</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1989/index.html">1989 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1988/index.html">← 1988</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1990/index.html">1990 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1989/index.html">← 1989</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1991/index.html">1991 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1990/index.html">← 1990</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1992/index.html">1992 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1991/index.html">← 1991</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1993/index.html">1993 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1992/index.html">← 1992</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1994/index.html">1994 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1993/index.html">← 1993</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1995/index.html">1995 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1994/index.html">← 1994</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1996/index.html">1996 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1995/index.html">← 1995</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../1998/index.html">1998 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1996/index.html">← 1996</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2000/index.html">2000 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../1998/index.html">← 1998</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2001/index.html">2001 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2000/index.html">← 2000</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2004/index.html">2004 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2001/index.html">← 2001</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2005/index.html">2005 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2004/index.html">← 2004</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2006/index.html">2006 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2005/index.html">← 2005</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2011/index.html">2011 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2006/index.html">← 2006</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2012/index.html">2012 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2011/index.html">← 2011</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2013/index.html">2013 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2012/index.html">← 2012</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2014/index.html">2014 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2013/index.html">← 2013</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2015/index.html">2015 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2014/index.html">← 2014</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2018/index.html">2018 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2015/index.html">← 2015</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2019/index.html">2019 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2018/index.html">← 2018</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left" href="../2020/index.html">2020 →</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
|
||||
<div class="topnav">
|
||||
<a class="Left" href="../2019/index.html">← 2019</a>
|
||||
<a class="Left" href="../index.html">↑ top ↑</a>
|
||||
<a class="Left" href="../years.html">↑ top ↑</a>
|
||||
<a class="Left Disabled" href="#">No next</a>
|
||||
<a class="Right" href="#inventory">Inventory</a>
|
||||
</div>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user