fix all HTML headers
Renamed `ioccc.ico` to `favicon.ico`. Correctly added use of `favicon.ico` to all constructed HTML headers. Fixed the smart quote in HTML elements problem. Moved HTML "DO NOT EDIT" comments down below at the bottom of the HTML phase 1 section. According to to the Nu Html Checker, a charset attribute on a meta element found after the first 1024 bytes. Changed `bin/md2html.sh` VERSION from "1.1.3 2024-03-28" to "1.2 2024-03-30". Improved `bin/gen-status.sh` to adjust the "status_update" value only when the "contest_status" is changed. Performed a `make www` to perform and test the above under macOS.
This commit is contained in:
1 parent
5bb6f6444e
commit
c457b16358
404 files changed
+8872
-8447
No files matched your search
+32
-31
@@ -141,7 +141,7 @@ shopt -s lastpipe # run last command of a pipeline not executed in the backgroun
|
||||
|
||||
# set variables referenced in the usage message
|
||||
#
|
||||
export VERSION="1.1.3 2024-03-28"
|
||||
export VERSION="1.2 2024-03-30"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -1734,36 +1734,6 @@ if [[ $status -ne 0 ]]; then
|
||||
exit "$status"
|
||||
fi
|
||||
|
||||
# Special output to indicate which tool was used
|
||||
#
|
||||
if [[ -z $NOOP && ${HTML_PHASE_NAME[$CUR_PHASE_NAME]} != . ]]; then
|
||||
{
|
||||
echo "<!-- -->"
|
||||
echo "<!-- This web page was formed via the tool: $TAGLINE -->"
|
||||
echo "<!-- -->"
|
||||
if [[ -n $MDTAG ]]; then
|
||||
echo "<!-- The content of main section of this web page came from: $MDTAG -->"
|
||||
else
|
||||
echo "<!-- The main section of this web page came from JSON and other data files -->"
|
||||
fi
|
||||
echo "<!-- -->"
|
||||
echo "<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->"
|
||||
if [[ -n $MDTAG ]]; then
|
||||
echo "<!-- !!! Do not modify this web page, instead modify the file: $MDTAG -->"
|
||||
echo "<!-- !!! Do not modify this web page, instead modify the file: $MDTAG -->"
|
||||
echo "<!-- !!! Do not modify this web page, instead modify the file: $MDTAG -->"
|
||||
else
|
||||
echo "<!-- The main section of this web page was generated via the tool: $TAGLINE -->"
|
||||
echo "<!-- The main section of this web page was generated via the tool: $TAGLINE -->"
|
||||
echo "<!-- The main section of this web page was generated via the tool: $TAGLINE -->"
|
||||
fi
|
||||
echo "<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->"
|
||||
echo "<!-- -->"
|
||||
echo "<!-- Markdown content was converted into HTML via the tool: bin/$NAME -->"
|
||||
echo "<!-- -->"
|
||||
} >> "$TMP_INDEX_HTML"
|
||||
fi
|
||||
|
||||
########################################
|
||||
# HTML phase 1: inc/head.__name__.html #
|
||||
########################################
|
||||
@@ -1783,6 +1753,37 @@ if [[ $status -ne 0 ]]; then
|
||||
exit "$status"
|
||||
fi
|
||||
|
||||
# Special output to indicate which tool was used
|
||||
#
|
||||
if [[ -z $NOOP && ${HTML_PHASE_NAME[$CUR_PHASE_NAME]} != . ]]; then
|
||||
{
|
||||
echo
|
||||
echo "<!-- -->"
|
||||
echo "<!-- This web page was formed via the tool: $TAGLINE -->"
|
||||
if [[ -n $MDTAG ]]; then
|
||||
echo "<!-- The content of main section of this web page came from: $MDTAG -->"
|
||||
else
|
||||
echo "<!-- The main section of this web page came from JSON and other data files -->"
|
||||
fi
|
||||
echo "<!-- -->"
|
||||
echo
|
||||
echo "<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->"
|
||||
if [[ -n $MDTAG ]]; then
|
||||
echo "<!-- !!! Do not modify this web page, instead modify the file: $MDTAG !!! -->"
|
||||
echo "<!-- !!! Do not modify this web page, instead modify the file: $MDTAG !!! -->"
|
||||
echo "<!-- !!! Do not modify this web page, instead modify the file: $MDTAG !!! -->"
|
||||
else
|
||||
echo "<!-- The main section of this web page was generated via the tool: $TAGLINE -->"
|
||||
echo "<!-- The main section of this web page was generated via the tool: $TAGLINE -->"
|
||||
echo "<!-- The main section of this web page was generated via the tool: $TAGLINE -->"
|
||||
fi
|
||||
echo "<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->"
|
||||
echo
|
||||
echo "<!-- Markdown content was converted into HTML via the tool: bin/$NAME -->"
|
||||
echo
|
||||
} >> "$TMP_INDEX_HTML"
|
||||
fi
|
||||
|
||||
########################################
|
||||
# HTML phase 2: inc/body.__name__.html #
|
||||
########################################
|
||||
|
||||
Reference in new issue
Block a user