From: MatthewOwens <matthew@owens.tech>
Date: Tue, 21 Jul 2020 11:27:22 +0000 (+0100)
Subject: changed unordered list to divs in index
X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=e1f4df328547253fb8c8d2abd4a7edcfe7fe3610;p=website.git

changed unordered list to divs in index
---

diff --git a/scripts/posts.awk b/scripts/posts.awk
index fe2e577..c789874 100644
--- a/scripts/posts.awk
+++ b/scripts/posts.awk
@@ -1,16 +1,16 @@
 BEGIN {
 	#OFS=""
 	#FS="[-.]"
-	print "<ul>"
+	print "<div id=\"post-list\">"
 }
 
 {
 	file = sprintf("%s-%s-%s-%s", $1, $2, $3, $4)
 	string = sprintf("%s/%s/%s - %s", $1, $2, $3, $4)
 
-	printf("\t<li> <a href=\"/posts/%s.html\">%s</a></li>\n", file, string)
+	printf("\t<div id=\"post-list-item\"> <a href=\"/posts/%s.html\">%s</a></div>\n", file, string)
 }
 
 END {
-	print "</ul>"
+	print "</div">
 }