Add article image meta tags

This commit is contained in:
Tanner Collin 2023-10-19 13:22:22 -06:00
parent ed19695083
commit ce064be053
19 changed files with 57 additions and 28 deletions

View File

@ -37,7 +37,7 @@
"state": {
"type": "markdown",
"state": {
"file": "Japan Photography.md",
"file": "Wine Crate Coffee Table.md",
"mode": "source",
"source": false
}
@ -122,7 +122,7 @@
"state": {
"type": "backlink",
"state": {
"file": "Japan Photography.md",
"file": "Wine Crate Coffee Table.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@ -139,7 +139,7 @@
"state": {
"type": "outline",
"state": {
"file": "Japan Photography.md"
"file": "Wine Crate Coffee Table.md"
}
}
}
@ -161,8 +161,32 @@
},
"active": "d9a16803d250ddc4",
"lastOpenFiles": [
"Hydroponics.md",
"Things I Recommend.md",
"t0txt.md",
"t0 Services.md",
"Spaceport.md",
"Solar Car.md",
"Sensors.md",
"Secret Garden.md",
"QotNews.md",
"Protospace.md",
"Plant Waterer.md",
"Painting.md",
"Notica.md",
"Linux Flavour.md",
"Light Switch.md",
"LED Dress.md",
"Japan Photography.md",
"Hydroponics Log 3.md",
"Hydroponics Log 2.md",
"Hydroponics Log 1.md",
"Hydroponics Aphid War.md",
"Hydroponics.md",
"Hand of Ozymandias.md",
"Garage Door Opener.md",
"Fake Dog.md",
"ChatGPT Peanut Butter Cookies.md",
"Bypassing Ports.md",
"media/japan12hi.jpg",
"media/japan11hi.jpg",
"media/japan10hi.jpg",
@ -172,28 +196,6 @@
"media/japan06hi.jpg",
"media/japan05hi.jpg",
"media/japan04hi.jpg",
"media/japan03hi.jpg",
"Fake Dog.md",
"Painting.md",
"Notica.md",
"Hydroponics Log 2.md",
"Hydroponics Log 1.md",
"Garage Door Opener.md",
"Things I Recommend.md",
"Airflow.md",
"Secret Garden.md",
"Protospace.md",
"Plant Waterer.md",
"Algae Growth.md",
"Sensors.md",
"QotNews.md",
"Wine Crate Coffee Table.md",
"Bypassing Ports.md",
"ChatGPT Peanut Butter Cookies.md",
"Hand of Ozymandias.md",
"About.md",
"Acoustic Panels.md",
"Backup Strategy.md",
"Hydroponics Aphid War.md"
"media/japan03hi.jpg"
]
}

View File

@ -2,6 +2,7 @@ Title: Theatre Acoustic Panels
Date: 2021-10-21
Category: Creations
Summary: Panels for acoustic treatment in my home theatre.
Image: panel3.jpg
Short: 3
Acoustic treatment is one of the most overlooked aspects of home audio. There's no point in spending money on premium speakers if the room they are playing in has poor acoustics.

View File

@ -2,6 +2,7 @@ Title: ChatGPT Peanut Butter Cookies
Date: 2023-03-24
Category: Writing
Summary: A recipe generated by ChatGPT for peanut butter cookies.
Image: cookies3.jpg
Short: 2
<span class="aside">(describe a house fire in the style of a crappy blog post that people put above recipes that tell their life story before getting to the point about how their house burned down) </span>The flames danced around the living room, illuminating the memories that were now nothing more than ash. It was a warm summer evening, and we were all gathered in the backyard, enjoying the company of good friends and family. Little did we know that our lives were about to change forever.

View File

@ -2,6 +2,7 @@ Title: Fake Dog for Home Security
Date: 2022-06-27
Category: Creations
Summary: Fake dog barking for home security while on vacation.
Image: fake-dog.jpg
Short: 7
I set up a fake dog that barks if my surveillance cameras are triggered while I'm out of town on vacation. It's a pair of computer speakers plugged into a Raspberry Pi, which is an inexpensive single-board computer. One speaker faces the front door and the other faces the side door.

View File

@ -2,6 +2,7 @@ Title: Garage Door Opener Hack
Date: 2021-12-26
Category: Creations
Summary: Hacking my garage door opener to work over Wifi.
Image: garage3.jpg
Short: 5
In the quest to automate as much of my house as possible, I thought it would be useful to be able to remotely control my garage door from my home automation system. If I suspected that I forgot to close it while leaving, I could check in my security cameras and then close it from anywhere. It's nice having this peace of mind, even if it almost never happens.

View File

@ -2,6 +2,7 @@ Title: Hand of Ozymandias
Date: 2012-03-23
Category: Creations
Summary: A withered hand I welded out of scrap metal.
Image: hand1.jpg
Short: hand
I was visiting my cousins in Radium, BC and decided to learn stick welding at their shop. I wanted to create a sculpture, so with pieces of scrap metal I welded together this hand. The beads are far from perfect. Working with small pieces of rusted metal made it difficult.

View File

@ -2,11 +2,12 @@ Title: Japan Photography
Date: 2023-10-19
Category: Writing
Summary: Photos from my trip to Japan.
Image: japan06lo.jpg
Short: j
All photos are unmodified (not even cropped) and taken with a Pixel 6a.
Click each photo for the full resolution.
Click each photo for the full resolution and HDR.
Former Yasuda Garden, Tokyo:

View File

@ -2,6 +2,7 @@ Title: LED Dress
Date: 2016-03-18
Category: Creations
Summary: A dress made out of LEDs that twinkle like stars.
Image: dress1.jpg
Short: 4
A friend of mine was attending a stars and constellations themed ball. She wanted to wear a dress that was lit up with LEDs acting as twinkling stars. Seven of the 28 stars are aligned to resemble the Big Dipper constellation and twinkle differently than the rest, which twinkle in a random pattern.

View File

@ -2,6 +2,7 @@ Title: Remote Control Light Switch
Date: 2014-10-09
Category: Creations
Summary: A device to toggle my lights remotely.
Image: light1.jpg
Short: remote
I wanted the ability to toggle my bedroom light remotely for convenience. I designed a circuit that allows me to control my light with any device that can load a webpage.

View File

@ -2,6 +2,7 @@ Title: Notica
Date: 2022-05-17
Category: Projects
Summary: Send browser notifications from your terminal. No installation. No registration.
Image: notica1.jpg
Short: n
Order: 5

View File

@ -2,6 +2,7 @@ Title: Man's Reach Exceeds His Grasp
Date: 2012-04-11
Category: Creations
Summary: My first attempt at painting with acrylic.
Image: painting1.jpg
Short: painting
The painting is called “Mans Reach Exceeds His Grasp”. I've always wanted to try painting and thought I had a good idea, so after a couple of drawings I attempted to paint it. I eventually got it framed at Michaels. Many thanks to my friend Laura for the opportunity to do this, I couldn't have done it without her help.

View File

@ -2,6 +2,7 @@ Title: Automatic Plant Waterer
Date: 2014-06-05
Category: Creations
Summary: A device that automatically waters plants.
Image: waterer2.jpg
short: waterer
One day I decided watering my one plant was too much work, so I automated it. It's also great for when I'm on vacation. The plant is a year old now and doesn't look as good as it used to (kinda like you). So this machine is like its life support.

View File

@ -2,6 +2,7 @@ Title: Protospace
Date: 2022-05-01
Category: Writing
Summary: An outline of my projects at Calgary's makerspace Protospace.
Image: protospace1.jpg
Wide: true
Short: p

View File

@ -2,6 +2,7 @@ Title: QotNews
Date: 2022-05-18
Category: Projects
Summary: Hacker News, Reddit, Lobsters, and Tildes articles pre-rendered in reader mode. Optimized for speed and distraction-free reading.
Image: qotnews1.jpg
Short: q
Order: 1

View File

@ -2,6 +2,7 @@ Title: Solar Car
Date: 2013-04-27
Category: Creations
Summary: About my time volunteering with the University of Calgary Solar Car Team, where I designed a maximum power point tracker.
Image: solar2.jpg
Short: car
I joined the University of Calgary Solar Car Team in my first semester for a chance to learn things, gain practical experience, and meet people that share my interests. The car was the top Canadian team in a 3000 km race from Darwin to Adelaide, Australia in 2011. We met up at a shop on campus every Saturday morning to work on the new Generation IV of the solar car.

View File

@ -2,6 +2,7 @@ Title: Spaceport
Date: 2022-05-16
Category: Projects
Summary: Member portal for Calgary Protospace. It tracks dues, courses, training, access cards, and more.
Image: spaceport1.jpg
Short: m
Order: 3

View File

@ -2,6 +2,7 @@ Title: Wine Crate Coffee Table
Date: 2018-09-12
Category: Creations
Summary: A coffee table made out of wooden wine creates.
Image: wine3.jpg
Short: 0
My close friend Odai saw a simple coffee table design online that was built out of four wooden wine crates. They are quite cheap and available at any hardware store. We each wanted to make one so went and bought eight crates and some plywood to use as a base.

View File

@ -16,6 +16,11 @@
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% if article.image %}
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://t0.vc/media/{{article.image}}" />
<meta property="og:image" content="https://t0.vc/media/{{article.image}}" />
{% endif %}
{% endblock %}
{% block content %}

View File

@ -22,6 +22,12 @@
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% if article.image %}
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://tannercollin.com/media/{{article.image}}" />
<meta property="og:image" content="https://tannercollin.com/media/{{article.image}}" />
{% endif %}
{% endblock %}
{% block content %}