improve Do not modify HTML comments
Changed `bin/gen-year-index.sh` VERSION from "1.0.2 2024-03-08" to "1.0.3 2024-03-09". Changed `bin/md2html.sh` VERSION from "1.1 2024-03-08" to "1.1.1 2024-03-09".
This commit is contained in:
1 parent
085a708660
commit
17f6da63b2
401 files changed
+4807
-1600
No files matched your search
+20
-4
@@ -107,7 +107,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 2024-03-08"
|
||||
export VERSION="1.1.1 2024-03-09"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -1694,11 +1694,27 @@ fi
|
||||
if [[ -z $NOOP && ${HTML_PHASE_NAME[$CUR_PHASE_NAME]} != . ]]; then
|
||||
{
|
||||
echo "<!-- -->"
|
||||
echo "<!-- The original markdown content was formed by the tool: $TAGLINE -->"
|
||||
echo "<!-- This web page was formed via the tool: $TAGLINE -->"
|
||||
echo "<!-- -->"
|
||||
if [[ -n $MDTAG ]]; then
|
||||
echo "<!-- The main part of the markdown content came from: $MDTAG -->"
|
||||
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 "<!-- The HTML was converted from markdown by the tool: bin/$NAME -->"
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user