Add support for the "Aesop Meta Tag". Not widely used, but not a bad idea,

either.
This commit is contained in:
Fred Drake 2002-04-05 17:34:50 +00:00
parent cc8fe0407a
commit e03e1fe5cc
4 changed files with 31 additions and 0 deletions

View file

@ -37,6 +37,8 @@ $HAVE_MODULE_INDEX = 0;
$HAVE_GENERAL_INDEX = 0;
$HAVE_TABLE_OF_CONTENTS = 0;
$AESOP_META_TYPE = 'information';
# A little painful, but lets us clean up the top level directory a little,
# and not be tied to the current directory (as far as I can tell). Testing
@ -639,6 +641,8 @@ sub make_head_and_body {
, "<html>\n<head>\n<title>", $title, "</title>\n"
, &meta_information($title)
, $MY_PARTIAL_HEADER
, ($AESOP_META_TYPE eq '' ? ''
: "\n<meta name='aesop' content='$AESOP_META_TYPE'>")
, "\n</head>\n<body$body>");
}