aboutsummaryrefslogtreecommitdiff
path: root/generate.sh
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-01-27 09:51:22 +0000
committerAkshay <[email protected]>2020-01-27 09:51:22 +0000
commit5ff6a15f1b493b7b44909acd7cab6dfb06d648f5 (patch)
treeb260b5086e36711bef93b6886a90473a4b1662b2 /generate.sh
parent455357cd9fe344ebb0d0c15c546c414eb2d981c2 (diff)
fix mobile styles
Diffstat (limited to 'generate.sh')
-rwxr-xr-xgenerate.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/generate.sh b/generate.sh
index 6bca952..103f2f9 100755
--- a/generate.sh
+++ b/generate.sh
@@ -24,7 +24,7 @@ link_wrapper() {
24 # 4 - read time 24 # 4 - read time
25 echo -ne " 25 echo -ne "
26 <tr> 26 <tr>
27 <td> 27 <td class="table-post">
28 <div class=\"date\"> 28 <div class=\"date\">
29 $3 29 $3
30 </div> 30 </div>
@@ -32,7 +32,7 @@ link_wrapper() {
32 <span class=\"post-link\">$2</span> 32 <span class=\"post-link\">$2</span>
33 </a> 33 </a>
34 </td> 34 </td>
35 <td> 35 <td class="table-stats">
36 <span class=\"stats-number\"> 36 <span class=\"stats-number\">
37 $4 37 $4
38 </span> 38 </span>
@@ -95,7 +95,6 @@ for f in $posts; do
95 post_title=$(title_wrapper "$id") 95 post_title=$(title_wrapper "$id")
96 post_date=$(date -r "$file" "+%d/%m/%y") 96 post_date=$(date -r "$file" "+%d/%m/%y")
97 post_link=$(link_wrapper "${id%.*}" "$post_title" "$post_date" "$r_time" "$height") 97 post_link=$(link_wrapper "${id%.*}" "$post_title" "$post_date" "$r_time" "$height")
98
99 echo -ne "$post_link" >> docs/index.html 98 echo -ne "$post_link" >> docs/index.html
100 99
101 id="${id%.*}" 100 id="${id%.*}"