From be03e4adfe97561553c9ed2c10561c49d35c06d9 Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Mon, 14 Oct 2024 11:33:31 -0400 Subject: Add basic blog enttry list This adds a basic blog entry list to the front page. Currently, the blog entries are just populated from code, but eventually they will be pulled from the database --- .../src/main/webapp/WEB-INF/classes/Main.wo/Main.html | 4 +++- .../src/main/webapp/WEB-INF/classes/Main.wo/Main.wod | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'wotonomy-web-test/src/main/webapp/WEB-INF/classes') diff --git a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html index 48143bd..750a74f 100644 --- a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html +++ b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html @@ -9,12 +9,14 @@
+
-

TITLE HEADING

+

Title description, Dec 7, 2017
Image

Some text..

+

TITLE HEADING

Title description, Sep 2, 2017
diff --git a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod index e69de29..a4349b4 100644 --- a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod +++ b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod @@ -0,0 +1,8 @@ +cardlist : WORepetition { + list = application.blogEntries; + item = blogEntry; +} + +entryTitle : WOString { + value = blogEntry.title; +} \ No newline at end of file -- cgit v1.2.3