Configuration options
On this page
sortingStrategy
Default: ApendingStrategy
new LayoutDialect()
.withSortingStrategy(new AppendingStrategy());
Sets how <head> elements will be sorted when combined from the layout and content templates. See <head> element merging for more details and examples.
autoHeadMerging
Default: true
new LayoutDialect()
.withAutoHeadMerging(true);
Bypass the layout dialect prforming any <head> element merging altogether. See Bypassing <head> element merging altogether for more details.
experimentalTitleTokens
Default: false
new LayoutDialect()
.withExperimentalTitleTokens(false);
An experimental option added in 3.4.0 to use standard Thymeleaf expression syntax for title patterns instead of special tokens. See Using standard Thymeleaf expression variables instead of special tokens for more details.