From 6f26b933e68a7b209a1f32af61103fd2f552a3e8 Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Tue, 8 Dec 2020 20:04:08 -0600 Subject: mug-holder --- build.py | 6 +++ posts/mug-holder.md | 89 +++++++++++++++++++++++++++++++++++++++++ posts/mug-holder/chop.jpg | Bin 0 -> 44127 bytes posts/mug-holder/drill.jpg | Bin 0 -> 56168 bytes posts/mug-holder/endgrain.jpg | Bin 0 -> 28030 bytes posts/mug-holder/finish.jpg | Bin 0 -> 49470 bytes posts/mug-holder/hooks.jpg | Bin 0 -> 51831 bytes posts/mug-holder/installed.jpg | Bin 0 -> 33420 bytes posts/mug-holder/mug.jpg | Bin 0 -> 27245 bytes posts/mug-holder/mugs.jpg | Bin 0 -> 34014 bytes posts/mug-holder/planar.jpg | Bin 0 -> 63083 bytes posts/mug-holder/raw.jpg | Bin 0 -> 41916 bytes posts/mug-holder/ripped.jpg | Bin 0 -> 49480 bytes posts/mug-holder/sand.jpg | Bin 0 -> 29627 bytes public/style.css | 14 +++++++ templates/style.css | 14 +++++++ 16 files changed, 123 insertions(+) create mode 100644 posts/mug-holder.md create mode 100644 posts/mug-holder/chop.jpg create mode 100644 posts/mug-holder/drill.jpg create mode 100644 posts/mug-holder/endgrain.jpg create mode 100644 posts/mug-holder/finish.jpg create mode 100644 posts/mug-holder/hooks.jpg create mode 100644 posts/mug-holder/installed.jpg create mode 100644 posts/mug-holder/mug.jpg create mode 100644 posts/mug-holder/mugs.jpg create mode 100644 posts/mug-holder/planar.jpg create mode 100644 posts/mug-holder/raw.jpg create mode 100644 posts/mug-holder/ripped.jpg create mode 100644 posts/mug-holder/sand.jpg 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. + +
+ +
+ +# cutting to size + +I cut down the wood and used a joiner and planar to finish it. + +
+ +
After ripping.
+
+ +
+ +
In planar.
+
+ +
+ +
Chopping to length.
+
+ +I used the drill press to dril pilot holes (for hooks) and countersunk through holes (for mounting screws). + +
+ +
+ +# finishing + +I sanded the board to take off the edges and saw marks. + +
+ +
Sanding.
+
+ +
+ +
Endgrain detail.
+
+ +I applied two coats of my favorite "salad bowl finish" by brush. +I did it pretty casually but it came out well. + +
+ +
+ +Finally I installed my hooks, purchased from [Mendards](https://en.wikipedia.org/wiki/Menards). + +
+ +
+ +# 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! + +
+ +
+ +
+ +
+ +
+ +
Detail of "Ah!" mug given to me by my good friend Claire Till.
+
diff --git a/posts/mug-holder/chop.jpg b/posts/mug-holder/chop.jpg new file mode 100644 index 0000000..aba918a Binary files /dev/null and b/posts/mug-holder/chop.jpg differ diff --git a/posts/mug-holder/drill.jpg b/posts/mug-holder/drill.jpg new file mode 100644 index 0000000..2b68289 Binary files /dev/null and b/posts/mug-holder/drill.jpg differ diff --git a/posts/mug-holder/endgrain.jpg b/posts/mug-holder/endgrain.jpg new file mode 100644 index 0000000..53ec51b Binary files /dev/null and b/posts/mug-holder/endgrain.jpg differ diff --git a/posts/mug-holder/finish.jpg b/posts/mug-holder/finish.jpg new file mode 100644 index 0000000..d27a70d Binary files /dev/null and b/posts/mug-holder/finish.jpg differ diff --git a/posts/mug-holder/hooks.jpg b/posts/mug-holder/hooks.jpg new file mode 100644 index 0000000..132c616 Binary files /dev/null and b/posts/mug-holder/hooks.jpg differ diff --git a/posts/mug-holder/installed.jpg b/posts/mug-holder/installed.jpg new file mode 100644 index 0000000..23fc67d Binary files /dev/null and b/posts/mug-holder/installed.jpg differ diff --git a/posts/mug-holder/mug.jpg b/posts/mug-holder/mug.jpg new file mode 100644 index 0000000..4a4ffc1 Binary files /dev/null and b/posts/mug-holder/mug.jpg differ diff --git a/posts/mug-holder/mugs.jpg b/posts/mug-holder/mugs.jpg new file mode 100644 index 0000000..d004722 Binary files /dev/null and b/posts/mug-holder/mugs.jpg differ diff --git a/posts/mug-holder/planar.jpg b/posts/mug-holder/planar.jpg new file mode 100644 index 0000000..9d6d6d3 Binary files /dev/null and b/posts/mug-holder/planar.jpg differ diff --git a/posts/mug-holder/raw.jpg b/posts/mug-holder/raw.jpg new file mode 100644 index 0000000..6916fc5 Binary files /dev/null and b/posts/mug-holder/raw.jpg differ diff --git a/posts/mug-holder/ripped.jpg b/posts/mug-holder/ripped.jpg new file mode 100644 index 0000000..367b13a Binary files /dev/null and b/posts/mug-holder/ripped.jpg differ diff --git a/posts/mug-holder/sand.jpg b/posts/mug-holder/sand.jpg new file mode 100644 index 0000000..ec72c75 Binary files /dev/null and b/posts/mug-holder/sand.jpg 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%; +} -- cgit v1.2.3