aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/index.html46
-rw-r--r--docs/style.css1
-rwxr-xr-xgenerate.sh77
3 files changed, 54 insertions, 70 deletions
diff --git a/docs/index.html b/docs/index.html
index 0b3e979..64640d2 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,4 +1,3 @@
1
2<!DOCTYPE html> 1<!DOCTYPE html>
3<html lang="en"> 2<html lang="en">
4<head> 3<head>
@@ -12,18 +11,13 @@
12<meta property="og:description" content="a static site {for, by, about} me "> 11<meta property="og:description" content="a static site {for, by, about} me ">
13<meta property="og:url" content="https://nerdypepper.tech"> 12<meta property="og:url" content="https://nerdypepper.tech">
14<title>n</title> 13<title>n</title>
15
16
17<body> 14<body>
18<h1 class="heading">n</h1> 15 <h1 class="heading">n</h1>
19<h4 class="date">nerdypepper's μblog</h4> 16 <h4 class="date">nerdypepper's μblog</h4>
20 17 <div class="posts">
21 18 <div class="post">
22<div class="posts"> 19 <div class="separator"></div>
23<div class="post"> 20 <table>
24<div class=separator></div>
25<table>
26
27 21
28 <tr> 22 <tr>
29 <td class=table-post> 23 <td class=table-post>
@@ -177,20 +171,18 @@
177 <span class=stats-unit>min</span> 171 <span class=stats-unit>min</span>
178 </td> 172 </td>
179 </tr> 173 </tr>
180 174 </table>
181</table> 175 <div class="separator"></div>
182<div class=separator></div> 176 <div class="footer">
183<div class=footer> 177 <a href="https://github.com/nerdypepper">Github</a> ·
184 <a href=https://github.com/nerdypepper>Github</a> · 178 <a href="https://twitter.com/N3rdyP3pp3r">Twitter</a> ·
185 <a href=https://twitter.com/N3rdyP3pp3r>Twitter</a> · 179 <a href="mailto:[email protected]">Mail</a> ·
186 <a href=mailto:[email protected]>Mail</a> · 180 <a href="https://linkedin.com/in/nerdypepper">LinkedIn</a> ·
187 <a href=https://linkedin.com/in/nerdypepper>LinkedIn</a> · 181 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
188 <a href=https://creativecommons.org/licenses/by-nc-sa/4.0/> 182 <img class="footimgs" src="https://d33wubrfki0l68.cloudfront.net/94387e9d77fbc8b4360db81e72603ecba3df94a7/632bc/static/cc.svg">
189 <img class=footimgs src=https://d33wubrfki0l68.cloudfront.net/94387e9d77fbc8b4360db81e72603ecba3df94a7/632bc/static/cc.svg> 183 </a>
190 </a> 184 </div>
191</div> 185 </div>
192</div> 186 </div>
193</div>
194</body> 187</body>
195</html> 188</html>
196
diff --git a/docs/style.css b/docs/style.css
index 1cc12b9..b09fed8 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -224,4 +224,5 @@ pre > code {
224 vertical-align: middle; 224 vertical-align: middle;
225 image-orientation: from-image; 225 image-orientation: from-image;
226 cursor: pointer; 226 cursor: pointer;
227 box-shadow: none;
227} 228}
diff --git a/generate.sh b/generate.sh
index 2ba3fc9..3d55941 100755
--- a/generate.sh
+++ b/generate.sh
@@ -42,41 +42,32 @@ link_wrapper() {
42 " 42 "
43} 43}
44 44
45# meta 45cat > ./docs/index.html << EOF
46echo "
47<!DOCTYPE html> 46<!DOCTYPE html>
48<html lang=\"en\"> 47<html lang="en">
49<head> 48<head>
50<link rel=\"stylesheet\" href=\"./style.css\"> 49<link rel="stylesheet" href="./style.css">
51<meta charset=\"UTF-8\"> 50<meta charset="UTF-8">
52<meta name=\"viewport\" content=\"initial-scale=1\"> 51<meta name="viewport" content="initial-scale=1">
53<meta content=\"#ffffff\" name=\"theme-color\"> 52<meta content="#ffffff" name="theme-color">
54<meta name=\"HandheldFriendly\" content=\"true\"> 53<meta name="HandheldFriendly" content="true">
55<meta property=\"og:title\" content=\"nerdypepper\"> 54<meta property="og:title" content="nerdypepper">
56<meta property=\"og:type\" content=\"website\"> 55<meta property="og:type" content="website">
57<meta property=\"og:description\" content=\"a static site {for, by, about} me \"> 56<meta property="og:description" content="a static site {for, by, about} me ">
58<meta property=\"og:url\" content=\"https://nerdypepper.tech\"> 57<meta property="og:url" content="https://nerdypepper.tech">
59<title>n</title> 58<title>n</title>
60" > ./docs/index.html
61
62# body
63echo "
64<body> 59<body>
65<h1 class=\"heading\">n</h1> 60 <h1 class="heading">n</h1>
66<h4 class=\"date\">nerdypepper's μblog</h4> 61 <h4 class="date">nerdypepper's μblog</h4>
67" >> docs/index.html 62 <div class="posts">
68 63 <div class="post">
64 <div class="separator"></div>
65 <table>
66EOF
69 67
70# begin posts
71echo "
72<div class=\"posts\">
73<div class=\"post\">
74<div class="separator"></div>
75<table>
76" >> docs/index.html
77 68
78# posts 69# posts
79posts=$(ls -t ./posts); 70posts=$(ls -t ./posts)
80mkdir -p docs/posts 71mkdir -p docs/posts
81 72
82for f in $posts; do 73for f in $posts; do
@@ -111,20 +102,20 @@ for f in $posts; do
111 102
112done 103done
113 104
114echo " 105cat >> ./docs/index.html << EOF
115</table> 106 </table>
116<div class="separator"></div> 107 <div class="separator"></div>
117<div class="footer"> 108 <div class="footer">
118 <a href="https://github.com/nerdypepper">Github</a> · 109 <a href="https://github.com/nerdypepper">Github</a> ·
119 <a href="https://twitter.com/N3rdyP3pp3r">Twitter</a> · 110 <a href="https://twitter.com/N3rdyP3pp3r">Twitter</a> ·
120 <a href="mailto:[email protected]">Mail</a> · 111 <a href="mailto:[email protected]">Mail</a> ·
121 <a href="https://linkedin.com/in/nerdypepper">LinkedIn</a> · 112 <a href="https://linkedin.com/in/nerdypepper">LinkedIn</a> ·
122 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"> 113 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
123 <img class="footimgs" src="https://d33wubrfki0l68.cloudfront.net/94387e9d77fbc8b4360db81e72603ecba3df94a7/632bc/static/cc.svg"> 114 <img class="footimgs" src="https://d33wubrfki0l68.cloudfront.net/94387e9d77fbc8b4360db81e72603ecba3df94a7/632bc/static/cc.svg">
124 </a> 115 </a>
125</div> 116 </div>
126</div> 117 </div>
127</div> 118 </div>
128</body> 119</body>
129</html> 120</html>
130" >> docs/index.html 121EOF