From e1f4df328547253fb8c8d2abd4a7edcfe7fe3610 Mon Sep 17 00:00:00 2001 From: MatthewOwens <matthew@owens.tech> Date: Tue, 21 Jul 2020 12:27:22 +0100 Subject: [PATCH] changed unordered list to divs in index --- scripts/posts.awk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"> } -- 2.20.1