layout.html - AWS Code Sample

layout.html

<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org"> <head th:fragment="site-head"> <meta charset="UTF-8" /> <link rel="icon" href="../public/images/favicon.ico" th:href="@{/images/favicon.ico}" /> <script th:src="|https://code.jquery.com/jquery-1.12.4.min.js|"></script> <meta th:include="this :: head" th:remove="tag"/> </head> <body> <!-- th:hef calls a controller method - which returns the view --> <header th:fragment="site-header"> <a href="index.html" th:href="@{/}"><img src="../public/images/site-logo.png" th:src="@{/images/site-logo.png}" /></a> <a href="#" style="color: white" th:href="@{/}">Home</a> <a href="#" style="color: white" th:href="@{/message}">Send Messages</a> </header> <h1>Welcome</h1> <body> <p>Welcome to AWS Sample SQS app.</p> </body> </html>