Skip to content

Commit

Permalink
Remove html suffix from this example
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Apr 4, 2019
1 parent 7a9dbdc commit da1bf86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Examples.md
Expand Up @@ -185,7 +185,7 @@ layouts, eg:
Child/content template:

```html
<html layout:decorate="~{your-layout.html(greeting='Hello!')}">
<html layout:decorate="~{your-layout(greeting='Hello!')}">
```

Parent/layout template:
Expand All @@ -200,10 +200,10 @@ Parent/layout template:
> names are missing.
This feature is available from Thymeleaf Layout Dialect 2.4.0. For older
versions, you can continue to use `th:with`/`data-th-with`, eg:
versions, you can continue to use `th:with`/`data-th-with`:

```html
<html layout:decorate="~{your-layout.html}" th:with="greeting='Hello!'">
<html layout:decorate="~{your-layout}" th:with="greeting='Hello!'">
```


Expand Down

0 comments on commit da1bf86

Please sign in to comment.