replace many more obsolete a name tags with div

This HTML is now obsolete in HTML 5:

```html
<a name="faq0"></a>Section 0: Submitting entries to a new IOCCC
```

Instead we need to use the div HTML elements:

```html
<div id="faq0">Section 0: Submitting entries to a new IOCCC</div>
```

Changed `bin/gen-authors.sh` VERSION from to "1.5 2024-04-15"
to "1.6 2024-04-15".

Changed `bin/gen-location.sh` VERSION from to "1.1.3 2024-04-13"
to "1.2 2024-04-15".

Changed `bin/gen-years.sh` VERSION from to "1.1.1 2024-04-13"
to "1.2 2024-04-15".

Changed `bin/output-index-author.sh` VERSION from to "1.6.1 2024-04-13"
to "1.7 2024-04-15".

Changed `bin/output-index-inventory.sh` VERSION from to "1.2.5 2024-04-13"
to "1.3 2024-04-15".

Changed `bin/output-year-index.sh` VERSION from to "1.2.2 2024-04-14"
to "1.3 2024-04-15".

Changed `bin/status2html.sh` VERSION from to "1.1.4 2024-04-13"
to "1.2 2024-04-15".

Run `make www` to perform the above.

TODO: Check this fix with the Nu HTML 5 validator.

TODO: Look for other HTML 5 warnings and errors.
This commit is contained in:
Landon Curt Noll committed 2024-04-15 17:52:21 -07:00
1 parent 783f6550a7
commit 476b0d45f0
394 files changed
+4723 -2594

No files matched your search

+7 -4
View File
@@ -83,7 +83,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.1 2024-04-13"
export VERSION="1.2 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -665,10 +665,11 @@ for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
#
{
ORDINAL=$(output_ordinal "$YEAR_COUNT")
echo "## <a name=$YYYY></a>$YYYY - The $ORDINAL IOCCC"
echo "<div id=\"$YYYY\">"
echo "## $YYYY - The $ORDINAL IOCCC"
echo
echo "**About** the [$ORDINAL IOCCC]($YYYY/index.html)<br>"
echo "**Download** all [$YYYY IOCCC entry source]($YYYY/$YYYY.tar.bz2)"
echo "**Download** all [$YYYY IOCCC entry source]($YYYY/$YYYY.tar.bz2)</div>"
echo
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_YEARS_MD"
@@ -828,7 +829,9 @@ done
# write year_level links to all the year level tarballs
#
{
echo '## <a name="year_level"></a><a name="inventory"></a>IOCCC Year level tarballs'
echo '<div id="year_level"><div id="inventory">'
echo '## IOCCC Year level tarballs'
echo '</div></div>'
echo
for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
echo "* Download all [$YYYY IOCCC entry source]($YYYY/$YYYY.tar.bz2)<br>"