Skip to content

Commit

Permalink
Correct path to layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaEdit authored Aug 17, 2023
1 parent b77f934 commit 1d8ebb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/concepts/mail-templates/add-a-layout-from-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ of your module.
## Layouts

```twig
{# modules/my_email_theme_module/mails/layout/custom_classic_layout.html.twig #}
{# modules/my_email_theme_module/mails/layouts/custom_classic_layout.html.twig #}
{# You can use the theme layout (if present) to extend it easily #}
{% extends '@MailThemes/classic/components/layout.html.twig' %}
Expand All @@ -37,7 +37,7 @@ of your module.
```

```twig
{# modules/my_email_theme_module/mails/layout/custom_modern_layout.html.twig #}
{# modules/my_email_theme_module/mails/layouts/custom_modern_layout.html.twig #}
{% extends '@MailThemes/modern/components/layout.html.twig' %}
{% block content %}
Expand Down

0 comments on commit 1d8ebb8

Please sign in to comment.