aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
blob: d57d6791b5ab3249ee46cb150da78448fcbf2f69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!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:if="${#authorization.expression('isAuthenticated()')}" th:text="#{title.index.user}">Popular</title>
    <title th:if="${#authorization.expression('isAnonymous()')}" th:text="#{title.index.anonym}">Popular posts</title>
</head>

<body>
<section layout:fragment="content">
    <div th:replace="views/partial/blog_postform"></div>
    <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>