diff --git a/content/post/2021/06/youtube-play-image-links-in-hugo.md b/content/post/2021/06/youtube-play-image-links-in-hugo.md index ba16cc7a..d205609e 100644 --- a/content/post/2021/06/youtube-play-image-links-in-hugo.md +++ b/content/post/2021/06/youtube-play-image-links-in-hugo.md @@ -12,7 +12,7 @@ When [I asked Ruben](/notes/2021/06/14h19m55s52/) how his lovely image-with-play Back up a minute. -What's the problem? Hugo---or any other CMS, for that matter---allows you to easily embed external (YouTube) videos by using a shortcode (`{{ < youtube HLM9VzWv1GM > }}`) or even copy-pasting an url (https://www.youtube.com/watch?v=SjDMwsbaSd8). The result is an embedded video your visitors can click on without having to surf to the third party itself. However. The (not so) big reveal: of course Google smacks your visitors around with the usual cookies coming from multiple suspicious looking domains. Even by resorting to `youtube-nocookie.com`, there's still too much visitor activity siphoned off from your site towards Alphabeat's data center. As an example, here's a screenshot of my uBlock Origin window from [my retro gamer E3 2021 blog post](https://jefklakscodex.com/articles/features/e3-2021-pc/) that used to embed YouTube videos: +What exactly is the problem? [Hugo](/tags/hugo)---or any other CMS, for that matter---allows you to easily embed external (YouTube) videos by using a shortcode (`{{ < youtube HLM9VzWv1GM > }}`) or even copy-pasting an url (https://www.youtube.com/watch?v=SjDMwsbaSd8). The result is an embedded video your visitors can click on without having to surf to the third party itself. However. The (not so) big reveal: of course Google smacks your visitors around with the usual cookies coming from multiple suspicious looking domains. Even by resorting to `youtube-nocookie.com`, there's still too much visitor activity siphoned off from your site towards Alphabeat's data center. As an example, here's a screenshot of my uBlock Origin window from [my retro gamer E3 2021 blog post](https://jefklakscodex.com/articles/features/e3-2021-pc/) that used to embed YouTube videos: ![](../ublock.jpg "uBlock Origin tracks outbound traffic.") diff --git a/themes/brainbaking-minimal/layouts/partials/head-meta.html b/themes/brainbaking-minimal/layouts/partials/head-meta.html index 85040f24..ae133168 100644 --- a/themes/brainbaking-minimal/layouts/partials/head-meta.html +++ b/themes/brainbaking-minimal/layouts/partials/head-meta.html @@ -10,15 +10,14 @@ + {{ $isHomePage := eq .Title .Site.Title }} {{ if .Params.subtitle }} - - - + + {{ else }} - - - + + {{ end }}{{ if .Keywords }} {{ else if .Params.tags }}