aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
new file mode 100644
index 00000000..8f667135
--- /dev/null
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org"
+ xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
+ layout:decorate="~{layout/mainLayout}">
+<head>
+ <title th:text="${title}">Main title</title>
+</head>
+
+<body>
+<section layout:fragment="content">
+ <div th:if="${visitor.getUid() > 0}" th:replace="views/partial/blog_postform" />
+ <div th:replace="views/partial/blog_messages"></div>
+ <div th:replace="views/partial/blog_paginator"></div>
+</section>
+<aside id="column">
+ <p layout:fragment="column" th:replace="views/partial/homecolumn">Main side column</p>
+</aside>
+</body>
+</html> \ No newline at end of file