changed unordered list to divs in index
authorMatthewOwens <matthew@owens.tech>
Tue, 21 Jul 2020 11:27:22 +0000 (12:27 +0100)
committerMatthewOwens <matthew@owens.tech>
Tue, 21 Jul 2020 11:27:22 +0000 (12:27 +0100)
scripts/posts.awk

index fe2e577..c789874 100644 (file)
@@ -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">
 }