There should be an element on every page that can be globally altered to inject styles and scripting before or after the page is rendered. The "site information" variables are insufficient because they are run through filter_xss_admin which removes styles/script tags. We should add our own custom variables via one of our modules (redhat_frontpage probably) and allow an admin to set them at any time.
This will allow us to address issues faster during upgrades, or to tweak styles to fix bugs.
Fixed in https://github.com/openshift/li/pull/1609
This change adds a new block (you will have to create it manually in a devenv based on the latest devdump) that will be shown on every page.
Go to "Blocks -> Add Block", create and save it, verify that it has the ID "8". Go back and edit again, set input type to raw html, then add HTML to that section. Save the block, go to the homepage. The raw html in the block should be displayed in the section at the top of the page.
In addition, this pull request adds support for displaying the <meta description> for search engine support based on the site_mission variable. To test, go to "Site Information" and set the site mission statement. The homepage should have a <meta name="description" content="...."> value set based on the mission statement. Other pages should not have this value.
Commit pushed to master at https://github.com/openshift/li
Bug 972890 - Allow homepage to have a meta description (site_mission) and inject content onto every page
Tested above steps on devenv_3355, the block and meta content can be added to home page successfully,so verify this bug, thanks.