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))} /> <meta property="article:modified_time" content={formatISO(new Date(data.updated))} />
{/if} {/if}
{#if data.image} {#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} {:else}
<meta property="og:image" content={`https://bgenc.net${Jpeg}`} /> <meta property="og:image" content={`https://bgenc.net${Jpeg}`} />
{/if} {/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 date: 2023-02-18T12:33:32-05:00
updated: 2024-05-11T12:08:00-06:00 updated: 2024-05-11T12:08:00-06:00
toc: false toc: false
images: image: /img/gh-do-not-merge-action.png
tags: tags:
- dev - dev
description: Stop accidental code deployments with a clever GitHub Actions trick using labels to prevent merging pull requests until they're truly ready. 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)' title: 'Setting up my blog as an Onion service (Tor hidden service)'
date: 2023-03-05T15:54:13-05:00 date: 2023-03-05T15:54:13-05:00
toc: false 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. 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' title: 'Self Hosted Backups with Minio, Kopia, and Tailscale'
date: 2023-04-25T00:11:31-04:00 date: 2023-04-25T00:11:31-04:00
toc: false toc: false
images: image: /img/2023-04-25.tailscale.png
tags: tags:
- homelab - homelab
description: Ditch complex SSH setups and leverage Minio's S3 compatibility with Tailscale for secure, encrypted backups. 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' title: 'Getting theme colors in JavaScript using React with DaisyUI and TailwindCSS'
date: 2023-08-10T00:18:27-05:00 date: 2023-08-10T00:18:27-05:00
toc: false toc: false
images: image: /img/2023-08-10.chartjs.png
tags: tags:
- web - web
- dev - dev