<!--[if IE 8]>
<link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../css/ie8.css" th:href="@{/css/ie8.min.css}"/>
<![endif]-->
- <link rel="caononical" href="layout.html" th:href="@{${canonical}?:${uri}}"/>
+ <link rel="caononical" href="layout.html" th:replace="~{:: #canonical}?:~{}"/>
</head>
<body
th:fragment="body(uri)"