Skip to content

Content does not get rendered in the layout #948

@hopewise

Description

@hopewise

Expected behavior

Rendering the text in the wysiwyg editor at the page.

Actual behavior

I just see

{{ cms:text title }}
{{ cms:wysiwyg content }}

Steps to reproduce

in a pre existing app, at the admin slug:

  • create a website
  • create a layout app/views/layouts/sofa/en/layout.html.erb
    set the content:
<!DOCTYPE html>
<html lang="en">
<body>
<h1>{{ cms:text title }}</h1>
{{ cms:wysiwyg content }}
</body>
</html>

visit the page, the content of page is not rendered.

System configuration

Rails version:
5.2.5
CMS version:
2.0.19
Ruby version:
2.6.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions