speisekarten-quartz/quartz/util
Karim 3ce6aa49bf
fix(ogImage): update socialImage path to include base URL if defined (#1858)
* fix(ogImage): update socialImage path to include base URL if defined

* feat(path): add function to check if a file path is absolute

* fix(ogImage): handle absolute paths for user defined og image paths

* docs(CustomOgImages): update socialImage property to accept full URLs

* fix(ogImage): typo

* fix(ogImage): improve user-defined OG image path handling

* Update docs/plugins/CustomOgImages.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update quartz/plugins/emitters/ogImage.tsx

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* refactor(path): remove isAbsoluteFilePath function

* fix(ogImage): update user-defined OG image path handling to support relative URLs

* feat(ogImage): enhance user-defined OG image path handling with absolute URL support

* refactor(ogImage): remove debug log for ogImagePath

* feat(path): add isAbsoluteURL function and corresponding tests

* refactor(path): remove unused URL import for isomorphic compatibility

---------

Co-authored-by: Karim H <karimh96@hotmail.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2025-03-21 16:49:56 -07:00
..
clone.ts perf(explorer): client side explorer (#1810) 2025-03-09 14:58:26 -07:00
ctx.ts perf: incremental rebuild (--fastRebuild v2 but default) (#1841) 2025-03-16 14:17:31 -07:00
emoji.ts chore(og-image): force twemoji for emoji util 2025-03-05 17:21:19 -08:00
escape.ts feat(open-graph): generate OG images + further OG support (#740) 2024-11-12 07:33:35 -05:00
fileTrie.test.ts fix(folder): use memoized trie instead of handrolled path solution (closes #1767) 2025-03-14 15:08:23 -07:00
fileTrie.ts fix(folder): use memoized trie instead of handrolled path solution (closes #1767) 2025-03-14 15:08:23 -07:00
glob.ts fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
jsx.tsx deps: bump everything (closes #635) (#636) 2023-12-18 09:48:40 -08:00
lang.ts chore(i18n): refactor and cleanup (#805) 2024-02-04 20:57:10 -08:00
log.ts fix: parse parallelization chunk arg, inline b64 for og image 2025-03-16 15:12:40 -07:00
og.tsx fix: parse parallelization chunk arg, inline b64 for og image 2025-03-16 15:12:40 -07:00
path.test.ts fix(ogImage): update socialImage path to include base URL if defined (#1858) 2025-03-21 16:49:56 -07:00
path.ts fix(ogImage): update socialImage path to include base URL if defined (#1858) 2025-03-21 16:49:56 -07:00
perf.ts fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
random.ts feat: support non-singleton explorer 2025-03-10 15:13:22 -07:00
resources.tsx feat: support non-singleton explorer 2025-03-10 15:13:22 -07:00
sourcemap.ts fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
theme.ts feat(fonts): allow PageTitle to have its own font subset (#1848) 2025-03-18 21:43:32 -07:00
trace.ts fix: catch html to jsx errors (closes #547) 2023-10-21 21:06:02 -07:00