Propagate Svelte Data
1 min read

Propagate Svelte Data

Propagate Svelte Data

I've had to add a couple of links to youtube to my blog. I've seen a number of ways to add youtube links, ranging from simple HTML links to iframe tags.

I've settled for a simple approach: a linked a static image:

[![title](/content/images/2022/07/0-1.jpg)]( 'title')

Nice that youtube also has the static image :)

The HTML would be something similar to:

<a href="" title="title">
  <img src="/content/images/2022/07/0-1.jpg" alt="title" />