From c494ecaf3d29b95ad0230ed17cd7374dc702c28b Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Sat, 9 Mar 2024 05:09:23 -0800 Subject: [PATCH] Refactor code to remove unnecessary elements in sanitize allowElements --- .changeset/wicked-months-swim.md | 8 ++++++++ .../astro-ghostcms-brutalbyelian/src/routes/[slug].astro | 3 +-- .../astro-ghostcms-catppuccin/src/components/Post.astro | 3 +-- .../src/components/Page.astro | 1 - .../src/components/Post.astro | 3 +-- packages/starlight-ghostcms/src/routes/[slug].astro | 3 +-- packages/starlight-ghostcms/src/routes/about.astro | 5 +++-- 7 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 .changeset/wicked-months-swim.md diff --git a/.changeset/wicked-months-swim.md b/.changeset/wicked-months-swim.md new file mode 100644 index 00000000..efa17d52 --- /dev/null +++ b/.changeset/wicked-months-swim.md @@ -0,0 +1,8 @@ +--- +"@matthiesenxyz/astro-ghostcms-brutalbyelian": patch +"@matthiesenxyz/astro-ghostcms-theme-default": patch +"@matthiesenxyz/astro-ghostcms-catppuccin": patch +"@matthiesenxyz/starlight-ghostcms": patch +--- + +Fix html rendering to allow custom components diff --git a/packages/astro-ghostcms-brutalbyelian/src/routes/[slug].astro b/packages/astro-ghostcms-brutalbyelian/src/routes/[slug].astro index 1451e85c..e8b21782 100644 --- a/packages/astro-ghostcms-brutalbyelian/src/routes/[slug].astro +++ b/packages/astro-ghostcms-brutalbyelian/src/routes/[slug].astro @@ -33,8 +33,7 @@ invariant(settings, "Settings are required"); {config.supportGhost && (
Powered by Ghost
)} + {aboutPage && + }