diff options
Diffstat (limited to 'src/main/resources/templates/articles-list.html')
| -rw-r--r-- | src/main/resources/templates/articles-list.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/resources/templates/articles-list.html b/src/main/resources/templates/articles-list.html new file mode 100644 index 0000000..799c751 --- /dev/null +++ b/src/main/resources/templates/articles-list.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head> + <meta charset="UTF-8"> + <title>Title</title> +</head> +<body> + <h1>blah blah</h1> + <div th:each="article :${articles}" style=""> + <div>my aga article</div> + <h2 th:text="${article.title}"></h2> + <img th:src="${article.photoUrl}" alt="..."/> + <p th:text="${article.content}"></p> + </div> +</body> +</html>
\ No newline at end of file |
