Thymeleaf layout dialect and th:replace in head causes title to be blank

前端 未结 3 505
我寻月下人不归
我寻月下人不归 2021-01-12 06:30

I\'m following this tutorial: http://www.thymeleaf.org/doc/layouts.html (got to Thymeleaf Layout Dialect section). In there you can find an example:



        
3条回答
  •  心在旅途
    2021-01-12 06:45

    You can replace whole head tag.

    
    
    
    
    
     ...
    
    
    

    resources/templates/fragments/head.html:

        
            Title
            
            
    
            
            
        
    

提交回复
热议问题