adds the new stylesheet_dir variable to the index template

if a custom template is defined, this will point to the custom template's style.css, otherwise it will point to the default style.css