From 9444b37dce690f42d1e0255225129445f7a14782 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sat, 17 Jan 2026 02:46:59 +0100 Subject: [PATCH] small fixes --- docs/Beta.md | 15 ++++++--------- src/lib/cards/ImageCard/index.ts | 9 ++++++++- src/lib/website/Head.svelte | 2 ++ src/lib/website/Website.svelte | 3 ++- .../site.standard.publication/+server.ts | 14 ++++++++++++++ .../site.standard.publication/+server.ts | 0 6 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 src/routes/[handle]/.well-known/site.standard.publication/+server.ts delete mode 100644 src/routes/[handle]/.well_known/site.standard.publication/+server.ts diff --git a/docs/Beta.md b/docs/Beta.md index f72acd6..f57394a 100644 --- a/docs/Beta.md +++ b/docs/Beta.md @@ -1,15 +1,10 @@ # Todo for beta -- opengraph stuff - - - title, description - - fix opengraph image stuff +- fix opengraph image stuff - site.standard - - move subpages to own lexicon - move description to markdownDescription and set description as text only - - implement verification - fix recent blentos only showing the last ~5 @@ -25,12 +20,14 @@ - allow setting base and accent color -- edit link of image card - - go straight to edit mode (and redirect to edit mode on succesfull login) - ask to fill with some default cards on page creation - share button (copy share link to blento, maybe post to bluesky?) -- add icons to "change card to..." popover \ No newline at end of file +- add icons to "change card to..." popover + +- show social icon instead of favicon in link card if platform found for link + +- when adding images try to add them in a size that best fits aspect ratio \ No newline at end of file diff --git a/src/lib/cards/ImageCard/index.ts b/src/lib/cards/ImageCard/index.ts index 9d05ba7..30d3c03 100644 --- a/src/lib/cards/ImageCard/index.ts +++ b/src/lib/cards/ImageCard/index.ts @@ -29,5 +29,12 @@ export const ImageCardDefinition = { return item; }, - settingsComponent: ImageCardSettings + settingsComponent: ImageCardSettings, + + canChange: (item) => Boolean(item.cardData.image), + + change: (item) => { + return item; + }, + name: 'Image Card' } as CardDefinition & { type: 'image' }; diff --git a/src/lib/website/Head.svelte b/src/lib/website/Head.svelte index 9b768f8..08aa863 100644 --- a/src/lib/website/Head.svelte +++ b/src/lib/website/Head.svelte @@ -15,6 +15,8 @@ {#if title}