summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2020-12-08 20:04:08 -0600
committerBlaise Thompson <blaise@untzag.com>2020-12-08 20:04:08 -0600
commit6f26b933e68a7b209a1f32af61103fd2f552a3e8 (patch)
treef0d58112c524d28e61df9d115c1ff5b5d02c8b41
parent860fce03cf1efccca8fe6378b952dc4bde51d31e (diff)
mug-holder
-rwxr-xr-xbuild.py6
-rw-r--r--posts/mug-holder.md89
-rw-r--r--posts/mug-holder/chop.jpgbin0 -> 44127 bytes
-rw-r--r--posts/mug-holder/drill.jpgbin0 -> 56168 bytes
-rw-r--r--posts/mug-holder/endgrain.jpgbin0 -> 28030 bytes
-rw-r--r--posts/mug-holder/finish.jpgbin0 -> 49470 bytes
-rw-r--r--posts/mug-holder/hooks.jpgbin0 -> 51831 bytes
-rw-r--r--posts/mug-holder/installed.jpgbin0 -> 33420 bytes
-rw-r--r--posts/mug-holder/mug.jpgbin0 -> 27245 bytes
-rw-r--r--posts/mug-holder/mugs.jpgbin0 -> 34014 bytes
-rw-r--r--posts/mug-holder/planar.jpgbin0 -> 63083 bytes
-rw-r--r--posts/mug-holder/raw.jpgbin0 -> 41916 bytes
-rw-r--r--posts/mug-holder/ripped.jpgbin0 -> 49480 bytes
-rw-r--r--posts/mug-holder/sand.jpgbin0 -> 29627 bytes
-rw-r--r--public/style.css14
-rw-r--r--templates/style.css14
16 files changed, 123 insertions, 0 deletions
diff --git a/build.py b/build.py
index 3394180..6505dbb 100755
--- a/build.py
+++ b/build.py
@@ -1,4 +1,5 @@
import os
+import shutil
import jinja2
import markdown
import pathlib
@@ -33,6 +34,8 @@ posts = []
for post in os.listdir(__here__ / "posts"):
if len(post) < 3:
continue
+ if not post.endswith(".md"):
+ continue
with open(__here__ / "posts" / post, "r") as f:
content = md.convert(f.read())
kwargs = dict()
@@ -52,6 +55,9 @@ if not os.path.isdir(__here__ / "public"):
os.mkdir(__here__ / "public")
+shutil.copytree("posts", "public", dirs_exist_ok=True)
+
+
template = env.get_template("index.html")
with open(__here__ / "public" / "index.html", "w") as f:
f.write(template.render(posts=posts, title="blog", date=date))
diff --git a/posts/mug-holder.md b/posts/mug-holder.md
new file mode 100644
index 0000000..f68552f
--- /dev/null
+++ b/posts/mug-holder.md
@@ -0,0 +1,89 @@
+title: mug-holder
+date: 2020-11-29
+
+I made an overdesigned mug holder for my apartment!
+
+# table of contents
+
+[TOC]
+
+# raw material
+
+I used an old piece of flooring that my dad had laying around.
+This meant that I needed to rip down the sides before beginning.
+The wood is pretty, but not perfect.
+
+<figure>
+ <img src="raw.jpg">
+</figure>
+
+# cutting to size
+
+I cut down the wood and used a joiner and planar to finish it.
+
+<figure>
+ <img src="ripped.jpg">
+ <figcaption>After ripping.</figcaption>
+</figure>
+
+<figure>
+ <img src="planar.jpg">
+ <figcaption>In planar.</figcaption>
+</figure>
+
+<figure>
+ <img src="chop.jpg">
+ <figcaption>Chopping to length.</figcaption>
+</figure>
+
+I used the drill press to dril pilot holes (for hooks) and countersunk through holes (for mounting screws).
+
+<figure>
+ <img src="drill.jpg">
+</figure>
+
+# finishing
+
+I sanded the board to take off the edges and saw marks.
+
+<figure>
+ <img src="sand.jpg">
+ <figcaption>Sanding.</figcaption>
+</figure>
+
+<figure>
+ <img src="endgrain.jpg">
+ <figcaption>Endgrain detail.</figcaption>
+</figure>
+
+I applied two coats of my favorite "salad bowl finish" by brush.
+I did it pretty casually but it came out well.
+
+<figure>
+ <img src="finish.jpg">
+</figure>
+
+Finally I installed my hooks, purchased from [Mendards](https://en.wikipedia.org/wiki/Menards).
+
+<figure>
+ <img src="hooks.jpg">
+</figure>
+
+# final product
+
+As designed, the mug holder works great on the end of the awkward thin wall that divdes my kitchen and living room.
+Given how little storage space I have in the kitchen, it's a real help.
+Plus it's a nice way to display my mug collection!
+
+<figure>
+ <img src="installed.jpg">
+</figure>
+
+<figure>
+ <img src="mugs.jpg">
+</figure>
+
+<figure>
+ <img src="mug.jpg">
+ <figcaption>Detail of "Ah!" mug given to me by my good friend Claire Till.</figcaption>
+</figure>
diff --git a/posts/mug-holder/chop.jpg b/posts/mug-holder/chop.jpg
new file mode 100644
index 0000000..aba918a
--- /dev/null
+++ b/posts/mug-holder/chop.jpg
Binary files differ
diff --git a/posts/mug-holder/drill.jpg b/posts/mug-holder/drill.jpg
new file mode 100644
index 0000000..2b68289
--- /dev/null
+++ b/posts/mug-holder/drill.jpg
Binary files differ
diff --git a/posts/mug-holder/endgrain.jpg b/posts/mug-holder/endgrain.jpg
new file mode 100644
index 0000000..53ec51b
--- /dev/null
+++ b/posts/mug-holder/endgrain.jpg
Binary files differ
diff --git a/posts/mug-holder/finish.jpg b/posts/mug-holder/finish.jpg
new file mode 100644
index 0000000..d27a70d
--- /dev/null
+++ b/posts/mug-holder/finish.jpg
Binary files differ
diff --git a/posts/mug-holder/hooks.jpg b/posts/mug-holder/hooks.jpg
new file mode 100644
index 0000000..132c616
--- /dev/null
+++ b/posts/mug-holder/hooks.jpg
Binary files differ
diff --git a/posts/mug-holder/installed.jpg b/posts/mug-holder/installed.jpg
new file mode 100644
index 0000000..23fc67d
--- /dev/null
+++ b/posts/mug-holder/installed.jpg
Binary files differ
diff --git a/posts/mug-holder/mug.jpg b/posts/mug-holder/mug.jpg
new file mode 100644
index 0000000..4a4ffc1
--- /dev/null
+++ b/posts/mug-holder/mug.jpg
Binary files differ
diff --git a/posts/mug-holder/mugs.jpg b/posts/mug-holder/mugs.jpg
new file mode 100644
index 0000000..d004722
--- /dev/null
+++ b/posts/mug-holder/mugs.jpg
Binary files differ
diff --git a/posts/mug-holder/planar.jpg b/posts/mug-holder/planar.jpg
new file mode 100644
index 0000000..9d6d6d3
--- /dev/null
+++ b/posts/mug-holder/planar.jpg
Binary files differ
diff --git a/posts/mug-holder/raw.jpg b/posts/mug-holder/raw.jpg
new file mode 100644
index 0000000..6916fc5
--- /dev/null
+++ b/posts/mug-holder/raw.jpg
Binary files differ
diff --git a/posts/mug-holder/ripped.jpg b/posts/mug-holder/ripped.jpg
new file mode 100644
index 0000000..367b13a
--- /dev/null
+++ b/posts/mug-holder/ripped.jpg
Binary files differ
diff --git a/posts/mug-holder/sand.jpg b/posts/mug-holder/sand.jpg
new file mode 100644
index 0000000..ec72c75
--- /dev/null
+++ b/posts/mug-holder/sand.jpg
Binary files differ
diff --git a/public/style.css b/public/style.css
index b010808..5a0603d 100644
--- a/public/style.css
+++ b/public/style.css
@@ -36,4 +36,18 @@ pre {
code {
background: #111314;
color: #de935f
+}
+
+figure {
+ width: 100%;
+ margin: 0px auto;
+ margin-bottom: 1em;
+}
+
+audio {
+ width: 100%;
+}
+
+img {
+ width: 100%;
} \ No newline at end of file
diff --git a/templates/style.css b/templates/style.css
index 71d74d5..e67f360 100644
--- a/templates/style.css
+++ b/templates/style.css
@@ -37,3 +37,17 @@ code {
background: #111314;
color: #de935f
}
+
+figure {
+ width: 100%;
+ margin: 0px auto;
+ margin-bottom: 1em;
+}
+
+audio {
+ width: 100%;
+}
+
+img {
+ width: 100%;
+}