Commit 154b1571 authored by Roy Grönroos's avatar Roy Grönroos
Browse files

Fix SiteGen html formatting

parent b1417e49
Pipeline #45021 passed with stages
in 18 seconds
...@@ -18,7 +18,7 @@ class SiteGen { ...@@ -18,7 +18,7 @@ class SiteGen {
"<h1>" + siteTitle + "</h1>" + "<h1>" + siteTitle + "</h1>" +
"<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" + "<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" +
"</body>" + "</body>" +
"<html>"; "</html>";
public static void main(String args[]) throws Exception { public static void main(String args[]) throws Exception {
Files.createDirectory(Paths.get("public/")); Files.createDirectory(Paths.get("public/"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment