Skip to content

Restructure and separate templates/partials/layouts from page and content elements

Summary

Look for all Fluid files which are used by pages and content elements. Then put all files into the folders they belong to.

Currently the file Layouts/Default.html is used by content elements and pages.

Steps to reproduce

Put HTML code to Layouts/Default.html (which should handle pages only). The HTML code appears on every content element as well.

Example URL

(Add an Url where we can see the issue)

What is the current bug behavior?

One layout file used by page and content elements

What is the expected correct behavior?

Separate layout files and make it more clear which file is used for what.

Acceptence Criterias

  • Clear structure for page templates
  • Clear structure for content element templates

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)