boilerplate_before_title

Name

boilerplate_before_title, boilerplate_index_before_title, boilerplate_slideshow_before_title -- text to be inserted before the page title

Synopsis

     boilerplate_before_title=""
     boilerplate_index_before_title=""
     boilerplate_slideshow_before_title=""
  

Description

This variable can be used to have template text inserted on all HTML pages created, before the page title (the <H1> etc. tag). This text will come directly after the opening <BODY> tag and before the title tag. These variables are useful if you have a defined site style with template markup that go at the top and bottom of pages—add the template code here (or point to a file including the template) and all the HTML files makethumbs creates will contain your templates.

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

Note that the boilerplate_before_title variable will not be used if boilerplate_index_before_title or boilerplate_slideshow_before_title is set—those will take precedence for their given sets of pages.

See also

body_tag , boilerplate_after_title , index_page_title_start_html , slideshow_page_title_start_html

Examples

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

     boilerplate_before_title="/www/htdocs/page-start.txt"