aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/index.html20
-rw-r--r--docs/posts/WPA_woes/index.html2
-rw-r--r--docs/posts/bash_harder_with_vim/index.html2
-rw-r--r--docs/posts/bye_bye_BDFs/index.html2
-rw-r--r--docs/posts/color_conundrum/index.html2
-rw-r--r--docs/posts/get_better_at_yanking_and_putting_in_vim/index.html2
-rw-r--r--docs/posts/hold_position!/index.html2
-rw-r--r--docs/posts/my_setup/index.html2
-rw-r--r--docs/posts/onivim_sucks/index.html2
-rw-r--r--docs/posts/static_sites_with_bash/index.html2
-rw-r--r--docs/style.css38
-rwxr-xr-xgenerate.sh4
12 files changed, 55 insertions, 25 deletions
diff --git a/docs/index.html b/docs/index.html
index f26aa21..0b3e979 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -20,6 +20,7 @@
20 20
21 21
22<div class="posts"> 22<div class="posts">
23<div class="post">
23<div class=separator></div> 24<div class=separator></div>
24<table> 25<table>
25 26
@@ -27,7 +28,7 @@
27 <tr> 28 <tr>
28 <td class=table-post> 29 <td class=table-post>
29 <div class="date"> 30 <div class="date">
30 31/12/19 31 31/12 — 2019
31 </div> 32 </div>
32 <a href="/posts/color_conundrum" class="post-link"> 33 <a href="/posts/color_conundrum" class="post-link">
33 <span class="post-link">Color Conundrum</span> 34 <span class="post-link">Color Conundrum</span>
@@ -44,7 +45,7 @@
44 <tr> 45 <tr>
45 <td class=table-post> 46 <td class=table-post>
46 <div class="date"> 47 <div class="date">
47 23/11/19 48 23/11 — 2019
48 </div> 49 </div>
49 <a href="/posts/static_sites_with_bash" class="post-link"> 50 <a href="/posts/static_sites_with_bash" class="post-link">
50 <span class="post-link">Static Sites With Bash</span> 51 <span class="post-link">Static Sites With Bash</span>
@@ -61,7 +62,7 @@
61 <tr> 62 <tr>
62 <td class=table-post> 63 <td class=table-post>
63 <div class="date"> 64 <div class="date">
64 07/11/19 65 07/11 — 2019
65 </div> 66 </div>
66 <a href="/posts/my_setup" class="post-link"> 67 <a href="/posts/my_setup" class="post-link">
67 <span class="post-link">My Setup</span> 68 <span class="post-link">My Setup</span>
@@ -78,7 +79,7 @@
78 <tr> 79 <tr>
79 <td class=table-post> 80 <td class=table-post>
80 <div class="date"> 81 <div class="date">
81 12/10/19 82 12/10 — 2019
82 </div> 83 </div>
83 <a href="/posts/WPA_woes" class="post-link"> 84 <a href="/posts/WPA_woes" class="post-link">
84 <span class="post-link">WPA Woes</span> 85 <span class="post-link">WPA Woes</span>
@@ -95,7 +96,7 @@
95 <tr> 96 <tr>
96 <td class=table-post> 97 <td class=table-post>
97 <div class="date"> 98 <div class="date">
98 07/08/19 99 07/08 — 2019
99 </div> 100 </div>
100 <a href="/posts/bye_bye_BDFs" class="post-link"> 101 <a href="/posts/bye_bye_BDFs" class="post-link">
101 <span class="post-link">Bye Bye BDFs</span> 102 <span class="post-link">Bye Bye BDFs</span>
@@ -112,7 +113,7 @@
112 <tr> 113 <tr>
113 <td class=table-post> 114 <td class=table-post>
114 <div class="date"> 115 <div class="date">
115 02/08/19 116 02/08 — 2019
116 </div> 117 </div>
117 <a href="/posts/onivim_sucks" class="post-link"> 118 <a href="/posts/onivim_sucks" class="post-link">
118 <span class="post-link">Onivim Sucks</span> 119 <span class="post-link">Onivim Sucks</span>
@@ -129,7 +130,7 @@
129 <tr> 130 <tr>
130 <td class=table-post> 131 <td class=table-post>
131 <div class="date"> 132 <div class="date">
132 31/07/19 133 31/07 — 2019
133 </div> 134 </div>
134 <a href="/posts/bash_harder_with_vim" class="post-link"> 135 <a href="/posts/bash_harder_with_vim" class="post-link">
135 <span class="post-link">Bash Harder With Vim</span> 136 <span class="post-link">Bash Harder With Vim</span>
@@ -146,7 +147,7 @@
146 <tr> 147 <tr>
147 <td class=table-post> 148 <td class=table-post>
148 <div class="date"> 149 <div class="date">
149 30/07/19 150 30/07 — 2019
150 </div> 151 </div>
151 <a href="/posts/hold_position!" class="post-link"> 152 <a href="/posts/hold_position!" class="post-link">
152 <span class="post-link">Hold Position!</span> 153 <span class="post-link">Hold Position!</span>
@@ -163,7 +164,7 @@
163 <tr> 164 <tr>
164 <td class=table-post> 165 <td class=table-post>
165 <div class="date"> 166 <div class="date">
166 29/07/19 167 29/07 — 2019
167 </div> 168 </div>
168 <a href="/posts/get_better_at_yanking_and_putting_in_vim" class="post-link"> 169 <a href="/posts/get_better_at_yanking_and_putting_in_vim" class="post-link">
169 <span class="post-link">Get Better At Yanking And Putting In Vim</span> 170 <span class="post-link">Get Better At Yanking And Putting In Vim</span>
@@ -189,6 +190,7 @@
189 </a> 190 </a>
190</div> 191</div>
191</div> 192</div>
193</div>
192</body> 194</body>
193</html> 195</html>
194 196
diff --git a/docs/posts/WPA_woes/index.html b/docs/posts/WPA_woes/index.html
index e6bd108..a2adb2e 100644
--- a/docs/posts/WPA_woes/index.html
+++ b/docs/posts/WPA_woes/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 12/10/19 19 12/10 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 18.37 22 18.37
diff --git a/docs/posts/bash_harder_with_vim/index.html b/docs/posts/bash_harder_with_vim/index.html
index 3543f15..336bd04 100644
--- a/docs/posts/bash_harder_with_vim/index.html
+++ b/docs/posts/bash_harder_with_vim/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 31/07/19 19 31/07 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 24.37 22 24.37
diff --git a/docs/posts/bye_bye_BDFs/index.html b/docs/posts/bye_bye_BDFs/index.html
index 61b2aec..9031d8a 100644
--- a/docs/posts/bye_bye_BDFs/index.html
+++ b/docs/posts/bye_bye_BDFs/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 07/08/19 19 07/08 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 9.99 22 9.99
diff --git a/docs/posts/color_conundrum/index.html b/docs/posts/color_conundrum/index.html
index 7b842b6..1751e6a 100644
--- a/docs/posts/color_conundrum/index.html
+++ b/docs/posts/color_conundrum/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 31/12/19 19 31/12 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 14.39 22 14.39
diff --git a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
index d645f25..455a52e 100644
--- a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
+++ b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 29/07/19 19 29/07 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 10.78 22 10.78
diff --git a/docs/posts/hold_position!/index.html b/docs/posts/hold_position!/index.html
index 20ec125..d5478f6 100644
--- a/docs/posts/hold_position!/index.html
+++ b/docs/posts/hold_position!/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 30/07/19 19 30/07 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 9.18 22 9.18
diff --git a/docs/posts/my_setup/index.html b/docs/posts/my_setup/index.html
index 2fd9f16..b0baabc 100644
--- a/docs/posts/my_setup/index.html
+++ b/docs/posts/my_setup/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 07/11/19 19 07/11 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 10.39 22 10.39
diff --git a/docs/posts/onivim_sucks/index.html b/docs/posts/onivim_sucks/index.html
index 2d61cc4..123f17c 100644
--- a/docs/posts/onivim_sucks/index.html
+++ b/docs/posts/onivim_sucks/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 02/08/19 19 02/08 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 11.18 22 11.18
diff --git a/docs/posts/static_sites_with_bash/index.html b/docs/posts/static_sites_with_bash/index.html
index f374a2b..e03bf5f 100644
--- a/docs/posts/static_sites_with_bash/index.html
+++ b/docs/posts/static_sites_with_bash/index.html
@@ -16,7 +16,7 @@
16 <a href="/" class="post-end-link">⟵ Back</a> 16 <a href="/" class="post-end-link">⟵ Back</a>
17 <div class="separator"></div> 17 <div class="separator"></div>
18 <div class="date"> 18 <div class="date">
19 23/11/19 19 23/11 — 2019
20 <div class="stats"> 20 <div class="stats">
21 <span class="stats-number"> 21 <span class="stats-number">
22 21.17 22 21.17
diff --git a/docs/style.css b/docs/style.css
index fd7e37f..bdda208 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -30,10 +30,6 @@ html {
30 font-size: 20px; 30 font-size: 20px;
31} 31}
32 32
33.posts {
34 width: 40%;
35}
36
37table { 33table {
38 width: 100%; 34 width: 100%;
39 border-collapse: collapse; 35 border-collapse: collapse;
@@ -52,8 +48,11 @@ td {
52 padding: 0.5rem 0; 48 padding: 0.5rem 0;
53} 49}
54 50
55/* mobile devices */ 51.posts {
56@media only screen and (max-width: 70em) { 52 width: 100%;
53}
54
55@media only screen and (min-width: 600px) {
57 .posts { 56 .posts {
58 width: 100%; 57 width: 100%;
59 } 58 }
@@ -62,6 +61,33 @@ td {
62 } 61 }
63} 62}
64 63
64@media only screen and (min-width: 768px) {
65 .posts {
66 width: 80%;
67 }
68 html {
69 font-size: 18px;
70 }
71}
72
73@media only screen and (min-width: 992px) {
74 .posts {
75 width: 70%;
76 }
77 html {
78 font-size: 20px;
79 }
80}
81
82@media only screen and (min-width: 1200px) {
83 .posts {
84 width: 50%;
85 }
86 html {
87 font-size: 20px;
88 }
89}
90
65.posts { 91.posts {
66 text-align: left; 92 text-align: left;
67 display: inline-block; 93 display: inline-block;
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