Skip to content

Commit

Permalink
content/layout: Fix og image path based in the Site.BaseURL
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Oct 14, 2024
1 parent aa1957f commit 4a084ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions content/commontorizon-container-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ tags: [ "Container", "Linux", "Embedded","Torizon" ]
abstract: "This blog post describe the main differences between the Torizon and CommonTorizon experimental container images."

customCSS: /css/fixedtable.css
image: /torizon-commontorizon-containers-main.jpg
ogImage: ../og-castello-torizon-commontorizon-containers.jpg
image: torizon-commontorizon-containers-main.jpg
ogImage: og-castello-torizon-commontorizon-containers.jpg
---

Within the Torizon ecosystem we also have Common Torizon. Common Torizon is a community driven derivative work from Torizon open source project. It aims to extend the Torizon ecosystem beyond Toradex SoMs. Therefore, it was also necessary to create container images that were compatible with the hardware that is the target of Common Torizon. This was the **main motivation** for creating the Common Torizon container images.
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/meta-og.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{ end }}
<meta property="og:url" content="{{ .Permalink }}" />
{{ if .Params.ogImage }}
<meta property="og:image" content="{{ .Params.ogImage }}" />
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Params.ogImage }}" />
{{ else }}
<meta property="og:image" content="{{ .Permalink }}img/mainOg.jpg" />
<meta property="og:image" content="{{ .Site.BaseURL }}img/mainOg.jpg" />
{{ end }}

0 comments on commit 4a084ac

Please sign in to comment.