$templates.shared.doctype {= debug_message("\n\n\n#### logout.cfv START\n"); string logout_url = "?dp+templates.index"; if (node_exists("preferences.miscellaneous.logout_url")) then ( string custom_logout_url = node_value("preferences.miscellaneous.logout_url"); if (custom_logout_url ne "") then ( logout_url = custom_logout_url; ); ); debug_message("#### logout_url: " . logout_url . "\n"); logout(); =}