Add extra body class.

This commit is contained in:
BoHung Chiu 2022-03-24 11:47:15 +08:00
parent aba01c8239
commit bb45e3448e
1 changed files with 3 additions and 1 deletions

View File

@ -215,7 +215,9 @@ class SeminarsController < ApplicationController
end
custom_datapp_data["300"] = [custom_banner]
end
return {"main_content"=>main_content,
return {
"extra_body_class" => "seminar_custom_page background_style_#{background_style} content_style_#{content_style}",
"main_content"=>main_content,
"extra_css"=>extra_css,
"extra_js"=>extra_js,
"header_data" => header_data,