From 978685524b709ca8d2d242c14bfb2e6ebb57b0f8 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 9 Dec 2024 16:26:43 +0000 Subject: [PATCH] Replace Netlify build badge with a local image To avoid CORS problems with https://github.com/TiddlyWiki/TiddlyWiki5/pull/8810 --- editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid | 4 ++++ editions/tw5.com/tiddlers/system/netlify-build-badge.tid | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid diff --git a/editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid b/editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid new file mode 100644 index 00000000000..8ee5ec7345a --- /dev/null +++ b/editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid @@ -0,0 +1,4 @@ +title: $:/_tw5.com/netlify-build-badge/netlify-light.svg +type: image/svg+xml + + \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/netlify-build-badge.tid b/editions/tw5.com/tiddlers/system/netlify-build-badge.tid index b0cd272c057..60bae279ed2 100644 --- a/editions/tw5.com/tiddlers/system/netlify-build-badge.tid +++ b/editions/tw5.com/tiddlers/system/netlify-build-badge.tid @@ -6,7 +6,7 @@ list-after: $:/core/ui/SideBarSegments/site-subtitle

- Deploys by Netlify + <$image source="$:/_tw5.com/netlify-build-badge/netlify-light.svg" alt="Deploys by Netlify" />
This is a preview build of the pull request #<$text text={{{ [{$:/build}split[|]nth[5]] }}}/>