summaryrefslogtreecommitdiffhomepage
path: root/src/main/resources/templates/articles-list.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/articles-list.html')
-rw-r--r--src/main/resources/templates/articles-list.html16
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