Skip to content

Commit

Permalink
fix: add missing open graphs [sc-20405]
Browse files Browse the repository at this point in the history
  • Loading branch information
pilimartinez committed May 17, 2024
1 parent 27e6a1a commit e17ae5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion site/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
<link rel="stylesheet" href="/css/style.css" />

<meta property="og:type" content="article" />
<meta property=og:title content="{{ if .IsHome }}{{ .Site.Title }}{{ else if .Params.metatags.title }}{{ .Params.metatags.title }}{{ else }}{{ .Title }} | Checkly{{ end }}" />
<meta property="og:title" content="{{ if .IsHome }}{{ .Site.Title }}{{ else if .Params.metatags.title }}{{ .Params.metatags.title }}{{ else }}{{ .Title }} | Checkly{{ end }}" />
<meta property="og:description" content="{{ with .Description }}{{ . | markdownify }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . | markdownify}}{{ end }}{{ end }}{{ end }}" />
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ $template_name := .Scratch.Get "template_name"}}
{{ $breadcrumb_text := .Scratch.Get "breadcrumb_text"}}
{{ $subtitle_text := .Scratch.Get "subtitle_text"}}
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/welcome/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width" initial-scale="1" maximum-scale="1">

<meta property="og:type" content="article">
<meta property="og:title" content="Build and Run Synthetics That Scale">
<meta property="og:title" content="Build and Run Synthetics That Scale">
<meta property="og:description" content="Monitoring as code workflow for developers: programmable, fast, reliable.">
<meta property="og:type" content="website">

Expand Down

0 comments on commit e17ae5f

Please sign in to comment.