Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content does not get rendered in the layout #948

Open
hopewise opened this issue Dec 19, 2021 · 0 comments
Open

Content does not get rendered in the layout #948

hopewise opened this issue Dec 19, 2021 · 0 comments

Comments

@hopewise
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant