aboutsummaryrefslogtreecommitdiff
path: root/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate.sh')
-rwxr-xr-xgenerate.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/generate.sh b/generate.sh
index eb15725..94b4928 100755
--- a/generate.sh
+++ b/generate.sh
@@ -14,7 +14,7 @@ post_wrapper() {
14 echo -ne " 14 echo -ne "
15 <div class=\"post\"> 15 <div class=\"post\">
16 <div class=\"date\">$3</div> 16 <div class=\"date\">$3</div>
17 <a href=\"#$1\" class=\"post-link\" onClick=\"showPost('$1')\">$title</a> 17 <a id=\"post-$1\" href=\"#post-$1\" class=\"post-link\" onClick=\"showPost('$1')\">$title</a>
18 <div id=\"$1\" class=\"post-text\" style=\"display: none\"> 18 <div id=\"$1\" class=\"post-text\" style=\"display: none\">
19 $2 19 $2
20 <a href=\"#$1\" class=\"post-end-link\" onClick=\"showPost('$1')\">↑ Collapse</a> 20 <a href=\"#$1\" class=\"post-end-link\" onClick=\"showPost('$1')\">↑ Collapse</a>
@@ -31,6 +31,12 @@ echo "
31<link rel=\"stylesheet\" href=\"./style.css\"> 31<link rel=\"stylesheet\" href=\"./style.css\">
32<meta charset=\"UTF-8\"> 32<meta charset=\"UTF-8\">
33<meta name=\"viewport\" content=\"initial-scale=1\"> 33<meta name=\"viewport\" content=\"initial-scale=1\">
34<meta content=\"#ffffff\" name=\"theme-color\">
35<meta name=\"HandheldFriendly\" content=\"true\">
36<meta property=\"og:title\" content=\"nerdypepper\">
37<meta property=\"og:type\" content=\"website\">
38<meta property=\"og:description\" content=\"a static site {for, by, about} me \">
39<meta property=\"og:url\" content=\"https://nerdypepper.me\">
34<title>n</title> 40<title>n</title>
35" > ./docs/index.html 41" > ./docs/index.html
36 42