Using jQuery and domReady in a static block or CMS page (Magento 2)

Using jQuery in a Magento 2 static block or CMS page can be tricky, a special syntax is required. Use the following code to add jQuery when all the content was loaded:

Of course, you can skip listening to…

Changing the title tag of the home page or any CMS page (Magento 1)

Magento automatically adds the defined suffix to the title tag on every page. If you want to change that for lets say the home page, open the CMS page “home” and add the following XML to the layout section: