This repository was archived by the owner on Dec 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
src/main/resources/templates Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 55 < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 " />
8- < th:block th:each ="key:${blogPost.seo} ">
8+ < th:block th:if =" ${blogPost} " th: each ="key:${blogPost.seo} ">
99 < th:block
1010 th:if ="${#strings.arraySplit(key,'=')[0]}!= enable_search_indexing "
1111 >
3030 />
3131 < title > Blog Posts</ title >
3232 </ head >
33-
3433 < body >
35- < div lang ="en " th:replace ="components/header :: header "> </ div >
36- < main class ="mainClass ">
34+ < div lang ="en " th:if =" ${header} " th: replace ="components/header :: header "> </ div >
35+ < main class ="mainClass " th:if =" ${blogPost} " >
3736 < div
3837 lang ="en "
3938 th:replace ="components/render-components :: renderComponents "
4039 > </ div >
4140 < div lang ="en " th:replace ="components/blog-content :: blogPost "> </ div >
4241 </ main >
43- < div lang ="en " th:replace ="components/footer :: footer "> </ div >
42+ < div lang ="en " th:if =" ${footer} " th: replace ="components/footer :: footer "> </ div >
4443 </ body >
45- </ html >
44+ </ html >
You can’t perform that action at this time.
0 commit comments