diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 13:46:07 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 13:46:07 +0300 |
| commit | f100d259d2ffebe61fef56ea3964f6d534d598c8 (patch) | |
| tree | 09d06511506da9c35585740d56598eb542fac079 /src/pages/og-image | |
| parent | 1e5f5a953588cefa75396454c9aed0a79552db14 (diff) | |
Initial pleroma pull support
Diffstat (limited to 'src/pages/og-image')
| -rw-r--r-- | src/pages/og-image/[...slug].png.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pages/og-image/[...slug].png.ts b/src/pages/og-image/[...slug].png.ts index a4982d8..f58316c 100644 --- a/src/pages/og-image/[...slug].png.ts +++ b/src/pages/og-image/[...slug].png.ts @@ -1,12 +1,12 @@ +import { Resvg } from "@resvg/resvg-js"; +import type { APIContext, InferGetStaticPropsType } from "astro"; +import satori, { type SatoriOptions } from "satori"; +import { html } from "satori-html"; import RobotoMonoBold from "@/assets/roboto-mono-700.ttf"; import RobotoMono from "@/assets/roboto-mono-regular.ttf"; import { getAllPosts } from "@/data/post"; import { siteConfig } from "@/site.config"; import { getFormattedDate } from "@/utils/date"; -import { Resvg } from "@resvg/resvg-js"; -import type { APIContext, InferGetStaticPropsType } from "astro"; -import satori, { type SatoriOptions } from "satori"; -import { html } from "satori-html"; const ogOptions: SatoriOptions = { // debug: true, |
