Skip to content

Commit b5f1bd7

Browse files
committed
Nope - that messed up a lot 😅 Fix up base paths in the docs instead
1 parent 18fa09c commit b5f1bd7

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
bundler-cache: true
2525
cache-version: 0 # Increment this number if you need to re-download cached gems
2626
- run: bundle install
27-
- run: bundle exec jekyll build --baseurl ''
27+
- run: bundle exec jekyll build --baseurl thymeleaf-layout-dialect
2828
- uses: actions/upload-pages-artifact@v3
2929
with:
3030
path: './thymeleaf-layout-dialect-docs/_site'

thymeleaf-layout-dialect-docs/configuration-options.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ new LayoutDialect()
2828
```
2929

3030
Sets how `<head>` elements will be sorted when combined from the layout and
31-
content templates. See [`<head>` element merging]({{ site.baseurl }}{% link processors/decorate.md %}#head-element-merging)
31+
content templates. See [`<head>` element merging]({% link processors/decorate.md %}#head-element-merging)
3232
for more details and examples.
3333

3434

@@ -43,7 +43,7 @@ new LayoutDialect()
4343
```
4444

4545
Bypass the layout dialect prforming any `<head>` element merging altogether.
46-
See [Bypassing <head> element merging altogether]({{ site.baseurl }}{% link processors/decorate.md %}#bypassing-head-element-merging-altogether)
46+
See [Bypassing <head> element merging altogether]({% link processors/decorate.md %}#bypassing-head-element-merging-altogether)
4747
for more details.
4848

4949

@@ -59,5 +59,5 @@ new LayoutDialect()
5959

6060
An experimental option added in 3.4.0 to use standard Thymeleaf expression
6161
syntax for title patterns instead of special tokens. See
62-
[Using standard Thymeleaf expression variables instead of special tokens]({{ site.baseurl }}{% link processors/title-pattern.md %}#using-standard-thymeleaf-expression-variables-instead-of-special-tokens)
62+
[Using standard Thymeleaf expression variables instead of special tokens]({% link processors/title-pattern.md %}#using-standard-thymeleaf-expression-variables-instead-of-special-tokens)
6363
for more details.

thymeleaf-layout-dialect-docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ This will introduce the `layout` namespace, and 5 new attribute processors that
6565
you can use in your templates: `decorate`, `title-pattern`, `insert`, `replace`,
6666
and `fragment`.
6767

68-
Continue on to the [processors]({{ site.baseurl }}{% link processors/index.md %})
68+
Continue on to the [processors]({% link processors/index.md %})
6969
section to learn how to use these in your templates.

thymeleaf-layout-dialect-docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ When Thymeleaf processes your content template, the resulting HTML will be:
9898
Learn more
9999
----------
100100

101-
Check out the [getting started]({{ site.baseurl }}{% link getting-started.md %})
101+
Check out the [getting started]({% link getting-started.md %})
102102
guide to learn how to add the layout dialect to your Thymeleaf project, or the
103-
[processors]({{ site.baseurl}}{% link processors/index.md %}) pages for in-depth
103+
[processors]({% link processors/index.md %}) pages for in-depth
104104
examples of each of the layout dialect features and how they can help you build
105105
your templates.

thymeleaf-layout-dialect-docs/processors/insert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ the result would be this:
5959

6060
Note the surrounding `<div>` from the calling template remains. This is in line
6161
with how Thymeleaf's `th:insert` behaves. One way to remove the `<div>` would
62-
be to use [`layout:replace`]({{ site.baseurl }}{% link processors/replace.md %})
62+
be to use [`layout:replace`]({% link processors/replace.md %})
6363
instead, whose behaviour aligns with Thymeleaf's `th:replace`.

thymeleaf-layout-dialect-docs/processors/replace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ the result would be this:
5555

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

0 commit comments

Comments
 (0)