added p tags to post listing
authorMatthewOwens <matthew@owens.tech>
Tue, 21 Jul 2020 16:08:01 +0000 (17:08 +0100)
committerMatthewOwens <matthew@owens.tech>
Tue, 21 Jul 2020 16:08:01 +0000 (17:08 +0100)
scripts/posts.awk

index d9593f4..a024f66 100644 (file)
@@ -8,7 +8,7 @@ BEGIN {
        file = sprintf("%s-%s-%s-%s", $1, $2, $3, $4)
        string = sprintf("%s/%s/%s - %s", $1, $2, $3, $4)
 
-       printf("\t<div id=\"post-list-item\"> <a href=\"/posts/%s.html\">%s</a></div>\n", file, string)
+       printf("\t<div id=\"post-list-item\"> <p><a href=\"/posts/%s.html\">%s</a></p></div>\n", file, string)
 }
 
 END {