aboutsummaryrefslogtreecommitdiff
path: root/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate.sh')
-rwxr-xr-xgenerate.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/generate.sh b/generate.sh
index 103f2f9..2ba3fc9 100755
--- a/generate.sh
+++ b/generate.sh
@@ -70,6 +70,7 @@ echo "
70# begin posts 70# begin posts
71echo " 71echo "
72<div class=\"posts\"> 72<div class=\"posts\">
73<div class=\"post\">
73<div class="separator"></div> 74<div class="separator"></div>
74<table> 75<table>
75" >> docs/index.html 76" >> docs/index.html
@@ -93,7 +94,7 @@ for f in $posts; do
93 height="$(height $lines)" 94 height="$(height $lines)"
94 95
95 post_title=$(title_wrapper "$id") 96 post_title=$(title_wrapper "$id")
96 post_date=$(date -r "$file" "+%d/%m/%y") 97 post_date=$(date -r "$file" "+%d/%m%Y")
97 post_link=$(link_wrapper "${id%.*}" "$post_title" "$post_date" "$r_time" "$height") 98 post_link=$(link_wrapper "${id%.*}" "$post_title" "$post_date" "$r_time" "$height")
98 echo -ne "$post_link" >> docs/index.html 99 echo -ne "$post_link" >> docs/index.html
99 100
@@ -123,6 +124,7 @@ echo "
123 </a> 124 </a>
124</div> 125</div>
125</div> 126</div>
127</div>
126</body> 128</body>
127</html> 129</html>
128" >> docs/index.html 130" >> docs/index.html