diff options
author | pux <pux@pux.dom> | 2021-06-28 10:58:04 +0200 |
---|---|---|
committer | pux <pux@pux.dom> | 2021-06-28 10:58:04 +0200 |
commit | 8e0f1b240ef05504384b8a07d7f928651b6dce48 (patch) | |
tree | 1bad6c12775b9f6c1ceb0e9b47bae701c02c1615 | |
parent | 480c71b115ea48139d91cef9e65af9fee9c9e0e7 (diff) | |
download | pub-docs-8e0f1b240ef05504384b8a07d7f928651b6dce48.tar.gz pub-docs-8e0f1b240ef05504384b8a07d7f928651b6dce48.tar.bz2 pub-docs-8e0f1b240ef05504384b8a07d7f928651b6dce48.zip |
auto index builder
-rw-r--r-- | 2020-06-23-182943_Backpacks.html | 43 | ||||
-rw-r--r-- | 2021-06-28-103922_TestingSrtGear.html | 33 | ||||
-rw-r--r-- | INDEX.html | 33 | ||||
-rw-r--r-- | INDEX.md | 2 | ||||
-rw-r--r-- | INDEX_template.md | 4 | ||||
l--------- | index.html | 1 | ||||
-rwxr-xr-x | update.sh | 10 |
7 files changed, 40 insertions, 86 deletions
diff --git a/2020-06-23-182943_Backpacks.html b/2020-06-23-182943_Backpacks.html index ee97ddc..3217e40 100644 --- a/2020-06-23-182943_Backpacks.html +++ b/2020-06-23-182943_Backpacks.html @@ -1,31 +1,12 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang> +<html> <head> - <meta charset="utf-8" /> - <meta name="generator" content="pandoc" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> - <title>2020-06-23-182943_Backpacks</title> - <style> - code{white-space: pre-wrap;} - span.smallcaps{font-variant: small-caps;} - span.underline{text-decoration: underline;} - div.column{display: inline-block; vertical-align: top; width: 50%;} - div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} - ul.task-list{list-style: none;} - .display.math{display: block; text-align: center; margin: 0.5rem auto;} - </style> - <style type="text/css">* { -color: white; - -font-family: Arial; -background-color: transparent; -} -html { background-color: #16161d; } -a:link {color: dodgerblue} -a:visited {color: dodgerblue} -a:hover {color: dodgerblue} -a:active {color: dodgerblue} -</style> + <meta charset="utf-8"> + <meta name="generator" content="pandoc"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> + <title></title> + <style type="text/css">code{white-space: pre;}</style> + <link href="data:text/css;charset=utf-8,%2A%20%7B%0Acolor%3A%20white%3B%0A%0Afont%2Dfamily%3A%20Arial%3B%0Abackground%2Dcolor%3A%20transparent%3B%0A%7D%0Ahtml%20%7B%20background%2Dcolor%3A%20%2316161d%3B%20%7D%0Aa%3Alink%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Avisited%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Ahover%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Aactive%20%7Bcolor%3A%20dodgerblue%7D%0A" rel="stylesheet"> <!--[if lt IE 9]> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> <![endif]--> @@ -35,24 +16,24 @@ a:active {color: dodgerblue} <h2 id="backpack-reviews">Backpack reviews</h2> <p>Focus: + Durability/longevity + small one for caving / everyday + ~ 40 l medium one, also airplane carry on + ~ 75 l big one, groceries / trekking tours + I EDC depending on mood, but even 75 l, have to walk 10 mins to the car, and got used to it</p> <h3 id="osprey-farpoint-40-l">Osprey Farpoint 40 l</h3> -<p>My first “good one”, lasted almost 5 years (daily use), back straps broke on an Italy-motorcycle-tour when i probably packed too many beer cans into it. Laptop compartment isn’t really protecting… never really used it.</p> +<p>My first "good one", lasted almost 5 years (daily use), back straps broke on an Italy-motorcycle-tour when i probably packed too many beer cans into it. Laptop compartment isn't really protecting... never really used it.</p> <h3 id="tatonka-laptop-backpack">Tatonka Laptop Backpack</h3> <p>Lasted some years, great protection for 15 " laptop. A bit small when trying to fit something else in there when laptop present.</p> <h3 id="kelty-redwing-44-l-black">Kelty Redwing 44 l (black)</h3> <p>Actual medium backpack (2019+), lot of space, had to bend the aluminium backbone a bit to match my backbone, but then it was great comfort.</p> -<p>Never used the girdle (closed the clips bending around the backpack instead of my hip) as it’s never that heavily loaded.</p> +<p>Never used the girdle (closed the clips bending around the backpack instead of my hip) as it's never that heavily loaded.</p> <p>You need to think a bit of where to put stuff to keep an aesthetic form though. Somehow when wearing it it looks like an Eastpak school backpack.</p> <h3 id="gregory-baltoro-75-l-blue">Gregory Baltoro 75 l (blue)</h3> <p>Current (2020) big daily / trekking backpack.</p> <p>Awesome fit (for me).</p> -<p>Looks awesome, but you’ll get looks from people when using it in the city / as a daily. That’s why i also wear a $IndianaJones hat to kill last doubt in people on what to think of me :)</p> +<p>Looks awesome, but you'll get looks from people when using it in the city / as a daily. That's why i also wear a $IndianaJones hat to kill last doubt in people on what to think of me :)</p> <p>Never tried a laptop in it.</p> -<p>After ~7 months of daily use the material on the two main shoulder belts is a bit worn, but i often didn’t use the tensioner that goes in front of my breast, so there was a lot of rubbing against my clothes. Anyway, this seems to get worse…</p> +<p>After ~7 months of daily use the material on the two main shoulder belts is a bit worn, but i often didn't use the tensioner that goes in front of my breast, so there was a lot of rubbing against my clothes. Anyway, this seems to get worse...</p> <h2 id="todo-wishlist">TODO / Wishlist</h2> <h3 id="small-caving-backpack">Small / caving backpack</h3> <ul> <li>ideally something that holds a water-tight canister and can be dragged without getting stuck easily.</li> -<li>maybe EDC-able without looking like a barrel…</li> +<li>maybe EDC-able without looking like a barrel...</li> </ul> </body> </html> diff --git a/2021-06-28-103922_TestingSrtGear.html b/2021-06-28-103922_TestingSrtGear.html index 78cd978..fab458f 100644 --- a/2021-06-28-103922_TestingSrtGear.html +++ b/2021-06-28-103922_TestingSrtGear.html @@ -1,31 +1,12 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang> +<html> <head> - <meta charset="utf-8" /> - <meta name="generator" content="pandoc" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> - <title>2021-06-28-103922_TestingSrtGear</title> - <style> - code{white-space: pre-wrap;} - span.smallcaps{font-variant: small-caps;} - span.underline{text-decoration: underline;} - div.column{display: inline-block; vertical-align: top; width: 50%;} - div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} - ul.task-list{list-style: none;} - .display.math{display: block; text-align: center; margin: 0.5rem auto;} - </style> - <style type="text/css">* { -color: white; - -font-family: Arial; -background-color: transparent; -} -html { background-color: #16161d; } -a:link {color: dodgerblue} -a:visited {color: dodgerblue} -a:hover {color: dodgerblue} -a:active {color: dodgerblue} -</style> + <meta charset="utf-8"> + <meta name="generator" content="pandoc"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> + <title></title> + <style type="text/css">code{white-space: pre;}</style> + <link href="data:text/css;charset=utf-8,%2A%20%7B%0Acolor%3A%20white%3B%0A%0Afont%2Dfamily%3A%20Arial%3B%0Abackground%2Dcolor%3A%20transparent%3B%0A%7D%0Ahtml%20%7B%20background%2Dcolor%3A%20%2316161d%3B%20%7D%0Aa%3Alink%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Avisited%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Ahover%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Aactive%20%7Bcolor%3A%20dodgerblue%7D%0A" rel="stylesheet"> <!--[if lt IE 9]> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> <![endif]--> @@ -1,31 +1,12 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang> +<html> <head> - <meta charset="utf-8" /> - <meta name="generator" content="pandoc" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> - <title>INDEX</title> - <style> - code{white-space: pre-wrap;} - span.smallcaps{font-variant: small-caps;} - span.underline{text-decoration: underline;} - div.column{display: inline-block; vertical-align: top; width: 50%;} - div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} - ul.task-list{list-style: none;} - .display.math{display: block; text-align: center; margin: 0.5rem auto;} - </style> - <style type="text/css">* { -color: white; - -font-family: Arial; -background-color: transparent; -} -html { background-color: #16161d; } -a:link {color: dodgerblue} -a:visited {color: dodgerblue} -a:hover {color: dodgerblue} -a:active {color: dodgerblue} -</style> + <meta charset="utf-8"> + <meta name="generator" content="pandoc"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> + <title></title> + <style type="text/css">code{white-space: pre;}</style> + <link href="data:text/css;charset=utf-8,%2A%20%7B%0Acolor%3A%20white%3B%0A%0Afont%2Dfamily%3A%20Arial%3B%0Abackground%2Dcolor%3A%20transparent%3B%0A%7D%0Ahtml%20%7B%20background%2Dcolor%3A%20%2316161d%3B%20%7D%0Aa%3Alink%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Avisited%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Ahover%20%7Bcolor%3A%20dodgerblue%7D%0Aa%3Aactive%20%7Bcolor%3A%20dodgerblue%7D%0A" rel="stylesheet"> <!--[if lt IE 9]> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> <![endif]--> @@ -3,4 +3,4 @@ ## INDEX [2020-06-23-182943_Backpacks](2020-06-23-182943_Backpacks.html) -[2021-06-28-103922_TestingSrtGear](2021-06-28-103922_TestingSrtGear.html) +[2021-06-28-103922_TestingSrtGear](2021-06-28-103922_TestingSrtGear.html) diff --git a/INDEX_template.md b/INDEX_template.md new file mode 100644 index 0000000..60bbd23 --- /dev/null +++ b/INDEX_template.md @@ -0,0 +1,4 @@ +# $blog / news + +## INDEX + diff --git a/index.html b/index.html deleted file mode 120000 index 9d41f4e..0000000 --- a/index.html +++ /dev/null @@ -1 +0,0 @@ -INDEX.html
\ No newline at end of file @@ -1,10 +1,18 @@ #!/bin/sh +cp INDEX_template.md INDEX.md + for i in *.md do filename_wo_ext=$(echo "$i" | cut -f 1 -d '.') - if [ $filename_wo_ext != "template" ] + if [ $filename_wo_ext != "template" ] && [ $filename_wo_ext != "INDEX_template" ] then pandoc $i -s --highlight-style pygments --css=style.css --self-contained -t html5 -o $filename_wo_ext.html + + if [ $filename_wo_ext != "INDEX" ] + then + echo "[$filename_wo_ext]($filename_wo_ext.html) " >> INDEX.md + fi + fi done |