projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03a01e
)
changed unordered list to divs in index
author
MatthewOwens
<matthew@owens.tech>
Tue, 21 Jul 2020 11:27:22 +0000
(12:27 +0100)
committer
MatthewOwens
<matthew@owens.tech>
Tue, 21 Jul 2020 11:27:22 +0000
(12:27 +0100)
scripts/posts.awk
patch
|
blob
|
history
diff --git
a/scripts/posts.awk
b/scripts/posts.awk
index
fe2e577
..
c789874
100644
(file)
--- 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">
}