Skip to content

Commit

Permalink
Seem to not need the baseUrl any more?
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Apr 15, 2021
1 parent 51f85d2 commit 98f55f0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions thymeleaf-layout-dialect-docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ This will introduce the `layout` namespace, and 5 new attribute processors that
you can use in your templates: `decorate`, `title-pattern`, `insert`, `replace`,
and `fragment`.

Continue on to the [processors]({{ site.baseurl }}{% link processors/index.md %})
section to learn how to use these in your templates.
Continue on to the [processors]({% link processors/index.md %}) section to learn
how to use these in your templates.
9 changes: 4 additions & 5 deletions thymeleaf-layout-dialect-docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ When Thymeleaf processes your content template, the resulting HTML will be:
Learn more
----------

Check out the [getting started]({{ site.baseurl }}{% link getting-started.md %})
guide to learn how to add the layout dialect to your Thymeleaf project, or the
[processors]({{ site.baseurl}}{% link processors/index.md %}) pages for in-depth
examples of each of the layout dialect features and how they can help you build
your templates.
Check out the [getting started]({% link getting-started.md %}) guide to learn
how to add the layout dialect to your Thymeleaf project, or the
[processors]({% link processors/index.md %}) pages for in-depth examples of each
of the layout dialect features and how they can help you build your templates.
4 changes: 2 additions & 2 deletions thymeleaf-layout-dialect-docs/processors/insert.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ the result would be this:

Note the surrounding `<div>` from the calling template remains. This is in line
with how Thymeleaf's `th:insert` behaves. One way to remove the `<div>` would
be to use [`layout:replace`]({{ site.baseurl }}{% link processors/replace.md %})
instead, whose behaviour aligns with Thymeleaf's `th:replace`.
be to use [`layout:replace`]({% link processors/replace.md %}) instead, whose
behaviour aligns with Thymeleaf's `th:replace`.
2 changes: 1 addition & 1 deletion thymeleaf-layout-dialect-docs/processors/replace.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ the result would be this:

Note the `<div>` that included the `layout:replace` processor is gone. This is
in line with how Thymeleaf's `th:replace` behaves. If you need to keep the
original element, try [`layout:insert`]({{ site.baseurl }}{% link processors/insert.md %})
original element, try [`layout:insert`]({% link processors/insert.md %})
instead, whose behaviour aligns with Thymeleaf's `th:insert`.

0 comments on commit 98f55f0

Please sign in to comment.