1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 05:15:34 -04:00

dynamic opengraph images

This commit is contained in:
2025-03-14 08:22:32 -04:00
parent 4d2febd262
commit e162d6a46c
35 changed files with 310 additions and 208 deletions

View File

@@ -2,7 +2,7 @@ import { Feed } from "feed";
import { getAllPosts } from "./posts";
import config from "../config";
import meJpg from "../../app/me.jpg";
import meJpg from "../../public/static/me.jpg";
export const buildFeed = async (): Promise<Feed> => {
// https://github.com/jpmonette/feed#example
@@ -32,7 +32,6 @@ export const buildFeed = async (): Promise<Feed> => {
link: post.permalink,
title: post.title,
description: post.description,
image: post.image || undefined,
author: [
{
name: config.authorName,