From 521d8922e2e7574ff4ffe04b3301a01b9f7e430b Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Wed, 24 Apr 2024 16:39:01 -0700 Subject: [PATCH] Fixed SEO tags & used external linked images (easiest fix for the time being) (#20455) Allowing images to work in blog metadata (for social media) --------- Co-authored-by: MaanavD --- src/routes/blogs/accelerating-phi-2/+page.svx | 2 +- src/routes/blogs/accelerating-phi-3/+page.svx | 5 +++-- src/routes/blogs/ort-1-17-release/+page.svx | 2 +- src/routes/blogs/post.svelte | 19 +++++++++++++------ 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/routes/blogs/accelerating-phi-2/+page.svx b/src/routes/blogs/accelerating-phi-2/+page.svx index b0b7c4352f..cc215f084b 100644 --- a/src/routes/blogs/accelerating-phi-2/+page.svx +++ b/src/routes/blogs/accelerating-phi-2/+page.svx @@ -21,7 +21,7 @@ authorsLink: 'https://www.linkedin.com/in/ashwini-khade-0266541a/', 'http://linkedin.com/in/ye-wang-0ab35812a' ] -image: 'accelerating-phi-2/Phi2_Int4_TokenGenerationTP.png' +image: 'https://iili.io/JSZc5E7.png' url: 'https://onnxruntime.ai/blogs/accelerating-phi-2' --- diff --git a/src/routes/blogs/accelerating-phi-3/+page.svx b/src/routes/blogs/accelerating-phi-3/+page.svx index 0523dfdc90..9a78d1103a 100644 --- a/src/routes/blogs/accelerating-phi-3/+page.svx +++ b/src/routes/blogs/accelerating-phi-3/+page.svx @@ -2,14 +2,15 @@ title: ONNX Runtime supports Phi-3 mini models across platforms and devices date: '22nd April, 2024' description: 'Thanks to day one ONNX Runtime and DirectML support, developers can now deploy Phi-3 Mini at scale' -keywords: 'GenAI , LLM, ONNXRuntime, ORT, Phi, DirectML, Windows' +keywords: 'GenAI , LLM, ONNXRuntime, ORT, Phi, DirectML, Windows, phi3, phi-3, ONNX, SLM, edge, gpu' authors: [ ] authorsLink: [ ] -image: 'Phi3_Thumbnail.png' +image: 'https://iili.io/JSQDdog.png' +imageSquare: 'https://iili.io/JSDovQn.png' url: 'https://onnxruntime.ai/blogs/accelerating-phi-3' --- diff --git a/src/routes/blogs/ort-1-17-release/+page.svx b/src/routes/blogs/ort-1-17-release/+page.svx index 736839cb43..b230fd6e76 100644 --- a/src/routes/blogs/ort-1-17-release/+page.svx +++ b/src/routes/blogs/ort-1-17-release/+page.svx @@ -25,7 +25,7 @@ authorsLink: 'https://www.linkedin.com/in/natkershaw/', '' ] -image: '' +image: 'https://iili.io/JSZcw3F.png' url: 'https://onnxruntime.ai/blogs/ort-1_17-release-blog' --- diff --git a/src/routes/blogs/post.svelte b/src/routes/blogs/post.svelte index 1018bdfc73..edeb14e029 100644 --- a/src/routes/blogs/post.svelte +++ b/src/routes/blogs/post.svelte @@ -42,6 +42,14 @@ /** * @type {any} */ + export let image; + /** + * @type {string} + */ + export let imageSquare; + /** + * @type {string} + */ @@ -56,11 +64,10 @@ - - + + + +
@@ -71,7 +78,7 @@ {#if authors.length === 0}
{:else} -

By:

+

By:

{/if} {#each authors as author, i} {author}{i + 1 === authors.length