Set some post images
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Kaan Barmore-Genç 2024-05-11 00:30:08 -05:00
parent 30da668bd0
commit 0f6a60bec9
Signed by: kaan
GPG key ID: B2E280771CD62FCF
5 changed files with 8 additions and 5 deletions

View file

@ -16,7 +16,10 @@
<meta property="article:modified_time" content={formatISO(new Date(data.updated))} />
{/if}
{#if data.image}
<meta property="og:image" content={data.image} />
<meta
property="og:image"
content={data.image.startsWith('https://') ? data.image : `https://bgenc.net${data.image}`}
/>
{:else}
<meta property="og:image" content={`https://bgenc.net${Jpeg}`} />
{/if}

View file

@ -3,7 +3,7 @@ title: Enforcing a "Do Not Merge" label with Github Actions
date: 2023-02-18T12:33:32-05:00
updated: 2024-05-11T12:08:00-06:00
toc: false
images:
image: /img/gh-do-not-merge-action.png
tags:
- dev
description: Stop accidental code deployments with a clever GitHub Actions trick using labels to prevent merging pull requests until they're truly ready.

View file

@ -2,7 +2,7 @@
title: 'Setting up my blog as an Onion service (Tor hidden service)'
date: 2023-03-05T15:54:13-05:00
toc: false
images:
image: /img/tor-censorship-snowflake-chart.webp
description: See how you can use Tor and Docker to create your own hidden onion service, perfect for tech enthusiasts and privacy advocates.
---

View file

@ -2,7 +2,7 @@
title: 'Self Hosted Backups with Minio, Kopia, and Tailscale'
date: 2023-04-25T00:11:31-04:00
toc: false
images:
image: /img/2023-04-25.tailscale.png
tags:
- homelab
description: Ditch complex SSH setups and leverage Minio's S3 compatibility with Tailscale for secure, encrypted backups.

View file

@ -2,7 +2,7 @@
title: 'Getting theme colors in JavaScript using React with DaisyUI and TailwindCSS'
date: 2023-08-10T00:18:27-05:00
toc: false
images:
image: /img/2023-08-10.chartjs.png
tags:
- web
- dev