EOF
}
+html_closing_tags() {
+ cat <<EOF
+</body>
+</html>
+EOF
+}
+
realmakepage() {
local filter="$1" # Distributions to list
local title="$2" # Title of page
html_page_creation_notice
- cat <<EOF
-</body>
-</html>
-EOF
+ html_closing_tags
}
makemainpage() {
+ local title="$1" # Title of page
+ local time="$2" # Date
header "$title" "$time"
mailing list.
EOF
+
+ html_closing_tags
}
makepage() {
makepage "" "$title" "$htmldir/other/testing.html" "$time" "-t"
makepage "" "$title" "$htmldir/other/pseudo.html" "$time" "pseudo"
-makemainpage > $htmldir/index.html.new
+makemainpage "$title" "$time" > $htmldir/index.html.new
mv -f $htmldir/index.html.new $htmldir/index.html