boilerplate_end_of_page

Name

boilerplate_end_of_page, boilerplate_index_end_of_page, boilerplate_slideshow_end_of_page -- replacement text for the very end of each HTML page

Synopsis

     boilerplate_end_of_page="<body><html>"
     boilerplate_index_end_of_page="<body><html>"
     boilerplate_slideshow_end_of_page="<body><html>"
  

Description

These variables allow you to substitute your own preferred text and markup for the very end of every HTML page. Important! You must include the “<BODY><HTML>” markup at the end—you're really controlling the very end of the pages, nothing will be emitted except your text.

As with boilerplate_before_title, boilerplate_after_title, and boilerplate_insert_in_head, this variable has three versions. boilerplate_end_of_page will be used for all HTML pages. If you want to add something to the end of only your index pages, you should use boilerplate_index_end_of_page; to change the end only on the slideshow pages use boilerplate_slideshow_end_of_page.

Note that the boilerplate_end_of_page variable will not be used if boilerplate_index_end_of_page or boilerplate_slideshow_end_of_page is set—those will take precedence for their given sets of pages.

The difference between this set of variables and boilerplate_footer are twofold. First, boilerplate_footer does not allow you to discriminate between index and slideshow pages (for no particularly good reason; two, boilerplate_footer doesn't let you close out the HTML page. If you're integrating makethumbs with a complicated site design, you might have some end-of-page template code which includes the closing <BODY><HTML> tags.

See also

boilerplate_footer

Examples

Assuming the template code for the end of your HTML pages is in /www/htdocs/page-ending.txt, you can have makethumbs close out each HTML file with the text in page-ending.txt with a ~/.makethumbsrc entry like this:

     boilerplate_end_of_page_FILE="/www/htdocs/page-ending.txt"